Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mempool/mempool/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Mempool’s Fee Estimation provides accurate, real-time transaction fee recommendations to help you pay the right amount for the confirmation speed you need. Our algorithms analyze current mempool conditions to predict optimal fees.Why Transaction Fees Matter
Bitcoin miners prioritize transactions by fee rate - transactions paying higher fees per byte get confirmed faster. Paying too little means waiting longer; paying too much wastes money.Save Money
Avoid overpaying by using accurate fee estimates based on current network conditions.
Control Timing
Choose your priority level to balance cost and confirmation time.
Real-Time Data
Fee recommendations update every few seconds based on live mempool data.
Fee Priority Levels
Mempool provides three priority levels to match your needs:- High Priority
- Medium Priority
- Low Priority
Next Block (10-20 minutes)Recommended for:
- Time-sensitive payments
- Exchange withdrawals
- Important transactions
- When network is congested
High priority doesn’t guarantee instant confirmation - block times vary naturally.
Understanding Fee Rates
Satoshis per Virtual Byte (sat/vB)
Fees are measured in satoshis per virtual byte:- 1 satoshi (sat) = 0.00000001 BTC
- Virtual byte (vB) = Unit of transaction size (SegWit adjusted)
SegWit and Taproot transactions are smaller, so you pay less total fees even at the same rate.
SegWit Discount
SegWit (Segregated Witness) transactions receive a discount on block space:- Legacy transactions: 1 byte = 1 vByte
- SegWit transactions: Witness data counts as 1/4 vByte
- Result: 30-40% smaller transaction size
Legacy P2PKH
~230 vBytes typicalAt 20 sat/vB = 4,600 sats
SegWit P2WPKH
~140 vBytes typicalAt 20 sat/vB = 2,800 sats (39% savings!)
How Fee Estimation Works
Real-Time Analysis
Our fee estimator continuously analyzes:- Current mempool state: Size and composition
- Fee rate distribution: What others are paying
- Block arrival rate: Recent mining speed
- Transaction flow: Incoming transaction rate
- Historical patterns: Time-of-day and day-of-week trends
Estimation Algorithm
The system calculates fee recommendations by:Block Projection
Project which transactions would be in the next several blocks based on current conditions.
Why Estimates Change
Fee recommendations update in real-time as conditions change:- Mempool activity: New high-fee transactions arrive
- Block discovery: New blocks clear out transactions
- Network events: Market volatility, exchange activity
- Time patterns: Business hours vs. weekends
Fee Estimation Widget
Dashboard Display
The fee estimation box shows current recommended rates:- Color gradient: Visual indicator from low to high fees
- Three tiers: No priority, medium, high
- Sat/vB rates: Current recommended fee rates
- Live updates: Refreshes every few seconds
Reading the Display
The colored background shows the relative fee range - darker colors indicate higher fees.
Using Fee Estimates in Wallets
Manual Entry
When your wallet asks for a fee rate:- Check mempool.space for current recommended rates
- Choose your priority level
- Enter the sat/vB rate in your wallet
- Verify the total fee before confirming
API Integration
Wallet developers can integrate our fee API:Wallet-Specific Guidance
- Bitcoin Core
- Electrum
- Hardware Wallets
- Mobile Wallets
Use Or set
estimatesmartfee command:paytxfee for manual control:Advanced Fee Strategies
Replace-By-Fee (RBF)
Start with a lower fee and increase if needed:Child-Pays-For-Parent (CPFP)
If you receive a low-fee transaction, speed it up:- Create a new transaction spending the unconfirmed output
- Set a high enough fee to cover both transactions
- Miners will include both to collect the combined fee
Weekend Savings
Time your transactions for lower fees:Expensive Times
- Monday-Friday business hours
- Market volatility periods
- After major news events
- Exchange activity peaks
Cheap Times
- Saturday-Sunday
- Late night hours (UTC)
- Holiday periods
- Quiet market conditions
Fee Calculation Examples
Simple Payment
UTXO Consolidation
Consolidate UTXOs during low-fee periods to save money on future transactions.
Batched Exchange Withdrawal
Mempool Insights
Fee Distribution Graph
View how fees are distributed across the mempool:- X-axis: Fee rate ranges
- Y-axis: Amount of transaction data
- Colors: Different fee tiers
- Height: Shows concentration at each rate
Historical Fee Trends
Analyze fee market evolution:- Daily average fees
- Peak vs. off-peak patterns
- Seasonal trends
- Event-driven spikes
API Reference
Access fee estimation programmatically:Troubleshooting
My transaction isn't confirming
My transaction isn't confirming
Check if your fee rate is competitive:
- Look up your transaction on mempool.space
- Check its position in mempool blocks
- Compare your fee rate to current recommendations
- Consider RBF or CPFP to speed up
- Or use Transaction Acceleration
Fee estimates seem too high
Fee estimates seem too high
Fee recommendations reflect current market conditions:
- Check the mempool size (higher = more expensive)
- Consider waiting for a quieter period
- Use low priority if not urgent
- Check if there’s unusual network activity
Should I always use high priority?
Should I always use high priority?
No, only when necessary:
- Most transactions can use medium priority
- Use high priority for time-sensitive payments
- Use low priority to save money when possible
- Monitor the mempool to understand conditions
Why do wallets show different fees?
Why do wallets show different fees?
Different estimation algorithms:
- Some wallets use outdated data
- Some add extra margin for safety
- Some use Bitcoin Core’s estimator
- Mempool.space uses real-time mempool analysis
Best Practices
Always check current mempool conditions before sending
Use SegWit or Taproot addresses to save on fees
Enable RBF for flexibility to adjust fees later
Batch multiple payments when possible
Consolidate UTXOs during low-fee periods
Don’t overpay - use appropriate priority level
Consider Lightning Network for small/frequent payments
Related Features
Mempool Visualizer
See real-time mempool activity and fee distribution
Transaction Acceleration
Speed up stuck transactions with low fees
Blockchain Explorer
Look up transaction details and confirmation status
Lightning Explorer
Explore Lightning Network for instant, low-fee payments