Solana Fees, Part 1 (2024)

Introduction

Fee mechanisms are an important feature of blockchains. Network maintainers like validators have finite resources, so it’s important to charge for scarce resources in a way that reflects cost to the network. Fees also create incentives for participants of the network, such as users, application developers, and validators.

In this series, we will explore Solana’s current fee mechanism, formalize the design space for a fee mechanism, and analyze some proposed changes to Solana’s fee mechanism.

This piece is the first in the series. Here we explain how Solana’s fees work today, focusing on transaction-based fees.

Definitions

These are Solana-specific definitions required to understand the fee mechanism.

Signature: at least one, and usually exactly one included per transaction.

Lamport: the smallest atomic unit of SOL. 1 SOL is equal to one billion (10^9) lamports.

Compute unit (CU): a unit of compute, per Solana-BPF instruction, intended to approximate the cost to execute the instruction. Similar to gas units on Ethereum.

CU used: the number of compute units used to execute a transaction. Only known post-execution.

CU requested: specified by the transaction; if the transaction exceeds this compute budget during execution, execution halts and the transaction fails. The maximum CU requested (and used) per transaction is 1,400,000 CUs.

Account:a single piece of state on the Solana blockchain.

Scheduler: the continuous block building mechanism, included by default in the Solana client built by Solana Labs.

Solana’s Fees

Transaction Fees

Today, a Solana transaction includes two fees: a base fee and a priority fee.

The base fee is fixed per signature at 5000 lamports (0.000005 SOL, $0.0003 at $60/SOL) per signature; the vast majority of Solana transactions have one signature.

The optional priority fee is specified in the transaction, and is denominated in microlamports per CU requested. Note that this is not per CU used, because CUs used is not known until a transaction is executed. Transactions with higher priority fee are non-deterministically prioritized by the scheduler. The specific mechanism is described in Lifecycle of a Solana Transaction.

Fees are debited from the fee payer at the beginning of transaction execution. If the payer cannot pay the required fee, execution is skipped, the transaction is deemed invalid, and is not included.

For both the base fee and priority fee, 50% is kept by the leader as an incentive to include transactions in blocks, and 50% is burned.

In this example transaction, the transaction requests 600,000 compute units, and sets a priority fee of 2500 microlamports per CU requested. Because the transaction has one signature, the total fee for the transaction is 5000 lamports + 600,000 CU requested * 2500 microlamports / CU requested = 6500 lamports, or 0.0000065 SOL.

Solana Fees, Part 1 (1)

State Fees

Solana additionally charges a fee to create new state called rent exemption (legacy term). The current cost of rent exemption is a static 6.96 SOL per MB. When a new account is created, the fee is assigned to the account; when the account is removed, its rent exemption fee can be recollected.

Commentary

Incentives for Efficiency

Because the base fee is not sensitive to CU used or CU requested, there is no incentive on the base fee to optimize compute usage, nor to request CUs close to how many are actually used. In practice, many transactions on Solana request far more CUs than end up being used. This creates inefficiencies in the scheduler.

In the above example transaction, the transaction requests 600,000 CUs but uses less than 250,000.

While the priority fee does include an incentive to reduce CUs requested and therefore CUs used, this incentive is weak most of the time and only comes into effect during times of congestion. One simple modification would be to expand the base fee to also require a fee per CU requested. This would incentivize developers and transaction senders to reduce their compute usage, and request only the resources required.

Incentive Compatibility

A mechanism is incentive compatible if all participants in the mechanism achieve their best outcome by acting according to their true preferences. In the context of a fee mechanism, this means roughly that the validator maximizes fees by running the default block building algorithm, and that transaction senders maximize welfare by submitting transactions with priority fees according to their true willingness to pay.

Solana’s fee mechanism is not incentive compatible for validators and transaction senders today. As described above, 50% of the transaction fee is kept by the leader and 50% is burned. Because not all of the fee goes to the leader, this creates an incentive for a transaction sender to collude with the leader: instead of specifying a priority fee to get priority inclusion, the sender can instead create a side deal with the leader to pay the priority fee out-of-network, cutting out the burn while still receiving priority.

Validators running such a mechanism in theory receive more fees and thus can offer higher rewards to their delegated stakers, creating a centralizing force.

Besides direct vertical integration, the main way we see this side deal in the market today is through Jito auctions. Validators running Jito-Solana (a modification to Solana Labs’ client) break the continuous block building mechanism, running a blockspace auction in the first half of their slots.

We have not observed other such side deals in the market today. This is because:

  • The validator client and its scheduler are difficult to modify, so the cost of creating such an arrangement requires a high fixed cost. Out-of-protocol software like Jito-Solana and delegated block building arrangements like PBS on Ethereum amortize the fixed cost across all participating validators.
  • The vast majority of validator revenue comes from inflationary rewards, not transaction fees, so the benefit is relatively low.

Local Fee Markets

Unlike most other blockchains, Solana requires transaction senders to specify which pieces of state are required to execute the transaction. This unlocks parallel transaction execution and localized fee markets, where different pieces of state have different fees based on how contentious a particular piece of state is. A localized state hotspot does not need to increase contention or fees across the entire blockchain.

One common misconception about Solana is that it features local fee markets today. While it is the case that a transaction that pays higher priority fee is more likely to get included higher in the block, and that contested state is likely to require higher priority, this behavior is non-deterministic and a result of the implementation of Solana’s default scheduling algorithm. We explore this more in Lifecycle of a Solana Transaction.

In particular, this behavior is not enforced by consensus, and deterministic ordering by priority fee is not guaranteed, either by consensus or by the scheduler implementation. Solana’s continuous block building and block propagation prevents deterministic ordering, unless large changes (e.g. deterministic ordering and asynchronous execution) are implemented.

A consensus-enforced, predictable base fee for state access, based on historical contention, could improve efficiency and UX for accessing highly contested state. This would increase the cost of spam, while additionally incentivizing transaction senders to lock the minimal amount of state they actually require. It would not address the root cause of spam, which comes from continuous block building (so latency is important) and jitter. We will explore this design later in this series.

Externalities

Because transactions are primarily ordered by when they reach the leader (scheduler), and this order is subject to both network jitter and jitter due to the parallelized scheduler implementation, there is incentive to spam transactions when the sender wants one to be included as quickly as possible. Such transactions bring a negative externality on the network in the forms of spam landing on-chain (as of January 2023, 58% of Solana’s on-chain compute is used on reverting transactions) and spam reaching the leader.

Solana Fees, Part 1 (2)

From Jito Labs

Conclusion

In this piece, we described how Solana’s fee mechanism works today, and its implications on the network. We have hinted at some properties that an ideal fee mechanism would satisfy, such as accurate hints to the scheduler (CU requested), incentive compatibility, and true localized fee markets. In the next piece, we will define a formalism for the goals the fee mechanism should optimize for. This will be used to analyze the current fee mechanism, as well as proposed modifications to the mechanism, with more rigor than has been expressed here.

Disclaimer:

  1. This article is reprinted from [Umbra Research]. All copyrights belong to the original author [@0xsh*tTrader]. If there are objections to this reprint, please contact the Gate Learn team, and they will handle it promptly.
  2. Liability Disclaimer: The views and opinions expressed in this article are solely those of the author and do not constitute any investment advice.
  3. Translations of the article into other languages are done by the Gate Learn team. Unless mentioned, copying, distributing, or plagiarizing the translated articles is prohibited.
Solana Fees, Part 1 (2024)

FAQs

Solana Fees, Part 1? ›

Transaction Fees​

What are the fixed fees for Solana? ›

Base Fees. Solana transactions have a fixed base fee of 0.000005 SOL (5,000 lamports) per signature that must be paid upfront.

What is the transaction fee mechanism of Solana? ›

Solana's fee system consists of two components: the base fee and the priority fee. Broadly, each fee component ideally serves the following purpose: Base fees: right to utilize the network's resources. Priority fees: determine the order in a leader's transaction queue.

What is the fee market in Solana? ›

Solana's fee model creates a local fee market, where each contract has its own gas fee. This is similar to paying different amounts for groceries in different neighborhoods.

How are Solana fees calculated? ›

Each transaction fee on Solana is primarily determined by the computational resources required, including the number of signatures to be verified and the complexity of the transaction. Although Solana's fees can vary based on network demand, the structure tends to be more predictable compared to other blockchains.

Why are SOL fees so high? ›

For the long term, Solana relies on transaction fees to sustain security. A fixed portion (initially set at 50%) of each transaction fee is burned, with the rest sent to the current leader. Solana burns fees to fortify the value of SOL while discouraging malicious validators from censoring transactions.

How much of Solana fees are burned? ›

Transaction fees are partially burned and the remaining fees are collected by the validator that produced the block that the corresponding transactions were included in. Specifically, 50% are burned and 50% percent are distributed to the validator that produced the block.

What is a priority fee on Solana? ›

Solana's fee priority system allows you to set an additional fee on top of the base fee for a transaction, which gives your transaction a higher priority in the leader's queue. By bidding more for priority status, your transaction will be more likely to be confirmed quickly by the network.

What is the average Solana transaction fee answer? ›

Solana offers some of the cheapest transaction fees in the cryptocurrency market, typically costing between $0.003 and $0.030.

How much is Solana gas fee compared to Ethereum? ›

Solana vs. Ethereum: Key Differences
AspectEthereumSolana
Throughput (TPS)15-30Up to 65,000
Gas FeesVariable, upwards of $1Significantly lower, ~0.0001 SOL
Network CongestionCommon, especially during high demand periodsRare, but has experienced performance issues and outages
Programming LanguageSolidity, VyperRust
5 more rows
Jul 18, 2024

Is Solana transaction fee fixed? ›

Base fee: A fixed cost of making transactions on the Solana network. This fee amounts to just 0.000005 SOL (about $0.001 at current rates). Additional (prioritization) fee: Users can opt to pay an additional fee to prioritize their transactions.

What is the best price for Solana? ›

SOL Historical Price
24h Range$132.73 – $137.81
7d Range$123.06 – $136.56
All-Time High$259.96 48.7% Nov 06, 2021 (almost 3 years)
All-Time Low$0.5008 26550.2% May 11, 2020 (over 4 years)

What is the price goal for Solana? ›

What are reputable experts predicting? According to 7 reputable experts, Solana price predictions range from $500 to $750, averaging $600. Longer term, their SOL price predictions span $500 to $2,230, averaging around $800.

How do I get my Solana fees back? ›

To close an account, it must be empty. Any remaining token on the account will be burned. Check for any valuable token being closed. Just confirm the transaction and there you go, you successfully closed your token accounts and claimed your rent back.

How much does Solana charge for staking? ›

Solana Inflation Performance & Fees

It's also important as a staker to find validators that offer low fees on Solana staking rewards. Typically validators on Solana will charge anywhere between 5-10% on inflationary rewards.

How much does it cost to deploy a token on Solana? ›

The average cost to develop a Solana token typically ranges between USD 500 and USD 2000. However, the exact cost may depend on a number of factors such as the token type, the tokenomics design, testing and deployment operations, security dimensions and complexity associated with smart contracts.

Does Solana have a fixed supply? ›

How Many Solana (SOL) Coins Are There In Circulation? SOL. When SOL launched, it had an initial total supply of 500 million tokens but there is no capped max supply.

How much costs Solana? ›

The current price of Solana is $131.31 per SOL. With a circulating supply of 468,252,417.9 SOL, it means that Solana has a total market cap of $61,516,594,773.80. The amount of Solana traded has fallen by $128,372,822.66 in the last 24 hours, which is a 8.85% decrease.

Top Articles
Mortgage Interest Deduction: How It Works | Bankrate
Credit Scores: The Complete Beginner Guide
Sdn Md 2023-2024
This website is unavailable in your location. – WSB-TV Channel 2 - Atlanta
Amc Near My Location
Archived Obituaries
David Packouz Girlfriend
Music Archives | Hotel Grand Bach - Hotel GrandBach
Cvs Devoted Catalog
Umn Biology
4156303136
Mycarolinas Login
R/Altfeet
Dr Manish Patel Mooresville Nc
Amc Flight Schedule
Craiglist Kpr
Salem Oregon Costco Gas Prices
Best Uf Sororities
Willam Belli's Husband
Uktulut Pier Ritual Site
Ratchet & Clank Future: Tools of Destruction
Stoney's Pizza & Gaming Parlor Danville Menu
Chase Bank Pensacola Fl
Boston Dynamics’ new humanoid moves like no robot you’ve ever seen
Cor Triatriatum: Background, Pathophysiology, Epidemiology
Vht Shortener
R/Mp5
Does Circle K Sell Elf Bars
Gr86 Forums
Japanese Pokémon Cards vs English Pokémon Cards
Back to the Future Part III | Rotten Tomatoes
Edict Of Force Poe
8 Ball Pool Unblocked Cool Math Games
Jason Brewer Leaving Fox 25
Ramsey County Recordease
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Windshield Repair & Auto Glass Replacement in Texas| Safelite
814-747-6702
Panolian Batesville Ms Obituaries 2022
2017 Ford F550 Rear Axle Nut Torque Spec
✨ Flysheet for Alpha Wall Tent, Guy Ropes, D-Ring, Metal Runner & Stakes Included for Hunting, Family Camping & Outdoor Activities (12'x14', PE) — 🛍️ The Retail Market
Skyward Cahokia
Iman Fashion Clearance
Barback Salary in 2024: Comprehensive Guide | OysterLink
Campaign Blacksmith Bench
Kidcheck Login
Runelite Ground Markers
Deviantart Rwby
How To Connect To Rutgers Wifi
4015 Ballinger Rd Martinsville In 46151
Die 10 wichtigsten Sehenswürdigkeiten in NYC, die Sie kennen sollten
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 5927

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.