Parameters
array
An array of account addresses (as base-58 encoded strings). If provided, the response will be filtered to only include prioritization fees paid by one of the addresses.
Response
array
Code Examples
Basic Request
Using web3.js
Using Python
Notes
- Returns a list of recent prioritization fees from blocks
- Useful for estimating fees for priority transactions
- Fees are reported in micro-lamports (LAMPORTS_PER_SOL/1000000)
- If addresses parameter is provided, results are filtered to those accounts
- The response can be used to calculate appropriate prioritization fees
Best Practices
- Use this method to determine appropriate priority fees during network congestion
- Filter by specific addresses if you only care about fees paid by certain accounts
- Calculate an appropriate fee based on average or percentile of recent fees
- Refresh fee data frequently during high network activity
- Handle network errors and retry when appropriate