getRecentPrioritizationFees
Returns a list of prioritization fees from recent blocks.
This method will use 30 Compute Units.
Parameters
addressarray. A collection of up to 128 Account addresses represented as base-58 encoded strings in an array.
Returns
result array
prioritizationFeeinteger. The prioritization fee value.slotinteger. The slot number associated with the prioritization fee.
// Result
{
"jsonrpc": "2.0",
"result": [
{
"prioritizationFee": 0,
"slot": 320159396
},
{
"prioritizationFee": 0,
"slot": 320159397
},
...
}
],
"id": 1
}curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0","id":1,"method":"getRecentPrioritizationFees","params":[]}'
curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0","id":1,"method":"getRecentPrioritizationFees","params":[]}'
Last updated
Was this helpful?