Skip to main content

0.01 credits per call

getRecentPrioritizationFees on Solana: Returns recent per-compute-unit prioritization fees.

Endpoint

https://rpc.goldrushdata.com/v1/solana-mainnet
Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

NameTypeRequiredDescriptionExample
addressesarray<string>noUp to 128 base-58 account addresses; fees are scoped to slots where these accounts were written.["CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY"]

Returns

array<object>: Array of {slot, prioritizationFee} for recent slots.
[{"slot":372877170,"prioritizationFee":0},{"slot":372877171,"prioritizationFee":12000}]

Examples

curl https://rpc.goldrushdata.com/v1/solana-mainnet \
  -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getRecentPrioritizationFees",
    "params": [["CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY"]]
  }'

Errors

Standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.