curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getRecentPrioritizationFees",
"params": [
[
"CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY"
]
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
{}
]
}curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getRecentPrioritizationFees",
"params": [
[
"CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY"
]
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
{}
]
}Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
getRecentPrioritizationFees methodgetRecentPrioritizationFees method returns a list of recent prioritization fees observed in the network. These prioritization fees represent the per-compute-unit fees paid by transactions to gain priority over other transactions in the same block.
The prioritization fee is optional and can be attached to a transaction to increase its likelihood of being included in the next block. A transaction can be prioritized over other transactions with lower or no prioritization fees by paying a higher prioritization fee.
array — an array of base-58 encoded public key strings representing Solana account addresses, with a maximum of 128 addresses.slot (u64) — the slot where the transactions associated with the prioritization fees were processed.prioritizationFee (u64) — the per-compute-unit fee in micro-lamports. With no params, this is the minimum prioritization fee observed across all transactions in the slot. With params, this is the maximum across the supplied accounts of each account’s minimum writable-account fee for that slot — that is, the floor fee for the most expensive of your accounts in that slot.params array entirely, the response returns the minimum prioritization fee per slot across all transactions. Because every slot contains 0-priority-fee vote transactions, this floor is effectively 0 in every slot and is not useful for fee estimation.
getRecentPrioritizationFees is to set a floor for your priority fee. By querying recent fees for the specific writable accounts your transaction locks, you see the cheapest competing transactions that landed touching those accounts. To produce a competitive bid, take a high percentile (p95) or the maximum of non-zero values over the 150-slot window and multiply by an urgency factor.
See also Estimate priority fees with getRecentPrioritizationFees for a practical implementation guide.Was this page helpful?