Skip to main content

getRecentPrioritizationFees RPC Method

Returns a list of prioritization fees from recent blocks.

Method Information

Currently, a node’s prioritization-fee cache stores data from up to 150 blocks.

Parameters

array optional
An array of Account addresses
  • Maximum of 128 addresses
  • Addresses should be base-58 encoded strings

Account Address Consideration

If account addresses are provided, the response will reflect the fee to land a transaction locking all of the provided accounts as writable.

Code Sample

Response

Result Details

An array of prioritization fee objects, each containing:
  • slot: <u64>
    • Slot in which the fee was observed
    • Identifies the specific blockchain slot for the prioritization fee
  • prioritizationFee: <u64>
    • Per-compute-unit fee paid by at least one successfully landed transaction
    • Specified in increments of lamports

Important Notes

  • Prioritization-fee cache stores data from up to 150 blocks
  • Optional parameter allows filtering by specific account addresses
  • Maximum of 128 account addresses can be specified
  • Helps understand recent transaction priority fees