Priority Fee
A priority fee is an optional additional transaction fee that a user can pay to improve a transaction’s chance of being processed quickly during network congestion. On Solana, priority fees are associated with the computational resources requested by a transaction.
✦ Key Insight
During periods of heavy activity, many transactions compete for limited processing capacity. A transaction offering a higher priority fee may be more attractive for inclusion than one offering only the standard fee. Priority fees can matter during volatile trading, token launches, NFT mints, liquidations, arbitrage opportunities, and highly competitive on-chain events where speed affects execution.
✕ Common Misconceptions
Assuming higher fees guarantee execution
Paying excessive priority fees for ordinary transfers
Ignoring slippage and expiry settings
Confusing the priority fee with the base transaction fee
Using outdated fee estimates during rapidly changing congestion
Detailed Explanation
How It Works
A Solana transaction can include instructions that define a compute-unit limit and a price per compute unit. The resulting priority fee is influenced by how much computational capacity is requested and how much the sender is willing to pay per unit.
Wallets and trading applications may estimate the fee automatically. Some allow users to choose settings such as low, medium, high, or custom priority.
Paying a higher fee can improve inclusion probability, but it does not guarantee success.
FAQs
Is a priority fee mandatory?
No, but it may improve transaction inclusion during congestion.
Is the fee refunded if the trade fails?
A transaction that is processed but fails may still consume resources and charge fees.
How much priority fee should I use?
The appropriate amount depends on current demand, transaction urgency, and wallet or application estimates.
In Practice
Dig Deeper
Slippage
Slippage is the difference between the expected price of a trade at the time of submission and the actual executed price, caused by market movement or insufficient liquidity during confirmation.
Gas Fee
A gas fee is the cost paid to process a transaction or execute a smart contract action on a blockchain. It is the fee users pay to the network so their transaction can be included and confirmed.
Transaction Signature
A transaction signature is the unique identifier assigned to a transaction on the Solana blockchain. It serves a similar purpose to a transaction hash on Ethereum and many other blockchains.
