getPriorityFeeEstimate

Estimates the priority fee (in microlamports) required for a transaction. This method can also estimate the optimal Jito fee. Requires either a serialized transaction, or an array of Solana account public keys.

POST Category: transaction

Example Request

curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getPriorityFeeEstimate",
  "params": [
    {
      "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEEjNmKiZGiOtSZ+g0//wH5kEQo3+UzictY+KlLV8hjXcs44M/Xnr+1SlZsqS6cFMQc46yj9PIsxqkycxJmXT+veJjIvefX4nhY9rY+B5qreeqTHu4mG6Xtxr5udn4MN8PnBt324e51j94YQl285GzN2rYa/E2DuQ0n/r35KNihi/zamQ6EeyeeVDvPVgUO2W3Lgt9hT+CfyqHvIa11egFPCgEDAwIBAAkDZAAAAAAAAAA=",
      "options": {
        "transactionEncoding": "Base64",
        "includeAllPriorityFeeLevels": true,
        "includeJito": true
      }
    }
  ]
}'

Example Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "priorityFeeEstimate": 100000,
    "priorityFeeLevels": {
      "min": 1,
      "low": 510,
      "medium": 8040,
      "high": 100000,
      "veryHigh": 1000000,
      "unsafeMax": 7151020
    },
    "jitoTipEstimate": {
      "low": 1000,
      "medium": 5115,
      "high": 12023804
    }
  }
}

← Back to all methods