Fees and Gas
Here we'll learn about DefiLlama Fees, Protocol Fees, MEV, Bribes, Priority Fees, and BDNs.
1. Platform Fees
DefiLlama Fees
Fee Amount: 1% of the initial token amount, collected in SOL for every buy and sell.
Buy Example
You want to spend 5 SOL to purchase 100 $ DefiLlama tokens.
The 1% fee is calculated on the total SOL amount: [ 5* 0.01 = 0.05 SOL ]
After deducting 0.05 SOL, 4.95 SOL remains for buying $ DefiLlama.
Sell Example
You submit a sell order for 100 tokens at 0.01 SOL per token (total 1 SOL).
The 1% fee is calculated on the 1 SOL, so the fee is 0.01 SOL.
You receive 0.99 SOL after fees.
2. Protocol Fees
Protocol fees are collected by the underlying liquidity protocol. They can range from 0.15% to 5% depending on the specific protocol and pool you use.
PumpFun Protocol:
Charges a 1% protocol fee on buys and sells.
Raydium:
Fees vary by pool. PumpFun tokens migrated to Raydium typically have a 0.25% fee.
Other Liquidity Protocols:
Fees can be as high as 5%. Check specific protocol documentation for details.
Common protocols on Solana supported by DefiLlama include:
Meteora
Raydium
PumpFun
3. Priority Fee
A priority fee is an extra payment to validators to prioritize your transaction, especially when the network is congested.
PRIO: Enter the amount of SOL you are willing to pay as a priority fee. The default value is 0.01.
Rapid/Insane Presets:
Rapid: Sets a moderate priority fee for faster confirmations.
Insane: Sets a higher priority fee for the fastest possible confirmations.
Custom: Choose your own priority fee amount if presets don’t suit your needs.
4. Bribe
A bribe is an additional incentive you can provide to validators (or the Jito network) to prioritize your transaction.
BRIBE: Enter the bribe amount in SOL. The default is 0.01 SOL.
This setting can significantly improve transaction confirmation speed, especially when using MEV Only Mode.
5. MEV Only Mode
Maximal Extractable Value (MEV) refers to extra value captured through transaction reordering by block producers. Enabling MEV-only mode routes your transaction exclusively through Jito, which can optimize for MEV.
Disabled: Your transaction is broadcast to both Jito and standard Solana block leaders.
Enabled: Your transaction goes only to Jito’s infrastructure, potentially reducing sandwich attacks but sometimes requiring a higher bribe to maintain speed.
Additional Network Details
When MEV Only Mode is enabled, DefiLlama may add a static 0.002 SOL on top of any bribe you set to improve broadcasting reliability, especially during network congestion.
When MEV Only Mode is disabled, your bribe (if any) is broadcast as an incentive to multiple block leaders and routers.
6. Using MEV Only Mode vs. MEV Off
MEV Only Mode (Enabled)
Higher Bribe Recommended: Above 0.01 SOL to ensure your transaction is prioritized.
Protection from Sandwich Attacks: Because transactions are processed in an MEV-optimized environment.
Variable Transaction Speed: Might slow down if bribe is too low. Increase the bribe to speed it up.
Priority Fee: Less critical for Jito, since the bribe is the primary factor for prioritization.
MEV Only Mode (Disabled)
Lower Bribe Suffices: Transactions also go to standard block leaders, so even a small bribe or none at all may still get through quickly.
Faster Transaction Speeds: Often confirmed more quickly if the network isn’t too congested.
7. BDNs and SWQoS
What Are BDNs and SWQoS?
BDNs (Blockchain Distribution Networks): Specialized routers designed to broadcast transactions with high reliability.
SWQoS (Stake-Weighted Quality of Service) Channels: A mechanism on Solana that optimizes transaction propagation based on stake weight.
Why They Matter
By leveraging BDNs and SWQoS channels, DefiLlama enhances transaction reliability and ensures faster execution.
MEV Mode
A static 0.002 SOL is added to your set bribe.
This ensures greater reliability by securing alternative paths in case the primary route fails.
Non-MEV Mode
Bribes are distributed across multiple routers in increments of 0.0001 SOL.
Higher bribes generally lead to faster confirmation.
Popular BDN Services
BloxRoute
NextBlock
Temporal
HyperRouter ( DefiLlama-exclusive BDN, built by a team closely working with us. Public launch planned for the future.)
By default, all market and limit orders on DefiLlama are routed through HyperRouter. If HyperRouter is unavailable, transactions are automatically rerouted via BloxRoute or similar services.
Sniping orders may be broadcasted though all popular BDN services. Snipe orders are executed based on combined priority and bribe, the higher total number the higher priority order is executed with. While the different been 1-10th highest transaction may be little, it can still matter during active launches.
Bribe Recommendations for HyperRouter
Bribes exceeding 0.002 SOL generally result in diminishing returns when using HyperRouter.
A higher bribe may improve performance during peak congestion.
Global Edge Coverage
At 0.002 SOL, HyperRouter validates broadcasts across all edge locations, including: ✅ Tokyo ✅ Frankfurt ✅ Amsterdam ✅ London ✅ US West ✅ US East
All transactions with a 0.002 SOL fee are automatically propagated across these regions and partner services.
Minimum Recommended Fees
Non-MEV Transactions: 0.0001 SOL ensures broadcast via HyperRouter SWQoS.
MEV Transactions: A minimum of 0.002 SOL is required and strictly enforced.
This version improves clarity, formatting, and readability while keeping all essential details intact. Let me know if you’d like any further refinements! 🚀
Important: DefiLlama always attempts to land your transactions as quickly as possible using both in-house and third-party resources. There is currently no option to fully disable the use of BDNs. If you prefer minimal BDN involvement, use Non-MEV mode and set a very low bribe.
8. Slippage Limit
Slippage is the difference between your expected trade price and the actual executed price. Higher slippage tolerance means you allow a bigger price difference.
MAX %: Enter the maximum slippage percentage you can tolerate.
Example: If set to 1000, you accept up to 1000% slippage.
Adjust based on risk tolerance and market conditions.
9. Example Configuration
For a fast, reliable transaction during moderate congestion:
Priority Fee (PRIO): 0.05 SOL
Slippage Limit (MAX %): 500%
MEV Only Mode: Enabled
Bribe: 0.05 SOL
Adjust these based on current market conditions. If you notice slow confirmations, increase the bribe or priority fee.
10. Final Tips
Review All Fees: When trading, remember DefiLlama’s 1% platform fee and any protocol fees (ranging from 0.15% to 5%).
Adjust Settings As Needed:
High Congestion: Increase your bribe or priority fee to maintain transaction speed.
Low Congestion: Lower fees may still confirm transactions quickly.
Monitor Market Conditions: High volatility or liquidity changes can affect slippage, so set your slippage limit accordingly.
By combining these settings—platform fees, protocol fees, priority fee, slippage, MEV mode, and bribes—you can fine-tune your DefiLlama trading experience on Solana.
Last updated