getRecentPrioritizationFees - Solana

getRecentPrioritizationFees. Returns recent prioritization fees for transactions

getRecentPrioritizationFees - solana [Value: 20CU]
Returns recent prioritization fees for transactions, helping understand and optimize fee strategies
Use cases

Use cases

  • Retrieve recent prioritization fees for Solana transactions
  • Analyze fee data to optimize transaction costs
  • Monitor prioritization fees for financial planning
Constraints

Constraints

  • Limited to recent prioritization fee data
  • Dependent on real-time fee information
  • API rate limits may affect data retrieval
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://solana.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc": "2.0","id":1,"method":"getRecentPrioritizationFees","params":[]}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": {
    "feeCalculator": {
      "lamportsPerSignature": 5000,
      "prioritizationFeeRate": 0.1
    }
  },
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
addressarray
A list containing up to 128 account addresses, each represented as a base-58 encoded string

Response

200
Contains details about the prioritization fee and the associated slot number.

Response params

object
idinteger
jsonrpcstring
resultstring
object
numNonVoteTransactionsinteger
The count of non-vote transactions during the sample period.
prioritizationFeeinteger
The value of the prioritization fee.
slotinteger
The slot number related to the prioritization fee.