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": [
{}
]
}
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
— the specific slot (or block) on the Solana blockchain where the transactions associated with the prioritization fees were processed.prioritizationFee
— the fee amount paid by at least one transaction within the specified slot to achieve prioritized processing. Specified in micro-lamports.getRecentPrioritizationFees
is to understand the current prioritization fee trends in the network. This information can be useful for wallets or other applications that need to determine an appropriate prioritization fee for their transactions. An application can choose a fee level that balances transaction priority and cost by analyzing the recent prioritization fees.Recent prioritization fees details
The response is of type object
.