getFeeRateGovernor RPC Method

Returns the fee rate governor information from the root bank

Deprecated Method

This method is expected to be removed in solana-core v2.0. Please use getFeeForMessage instead.

Parameters #

None

Result #

The result will be an RpcResponse JSON object with value equal to an object with the following fields:

  • burnPercent: <u8> - Percentage of fees collected to be destroyed
  • maxLamportsPerSignature: <u64> - Largest value lamportsPerSignature can attain for the next slot
  • minLamportsPerSignature: <u64> - Smallest value lamportsPerSignature can attain for the next slot
  • targetLamportsPerSignature: <u64> - Desired fee rate for the cluster
  • targetSignaturesPerSlot: <u64> - Desired signature rate for the cluster

Code sample #

curl https://api.devnet.solana.com -s -X POST -H "Content-Type: application/json" -d '
  {"jsonrpc":"2.0","id":1, "method":"getFeeRateGovernor"}
'

Response #

{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 54
    },
    "value": {
      "feeRateGovernor": {
        "burnPercent": 50,
        "maxLamportsPerSignature": 100000,
        "minLamportsPerSignature": 5000,
        "targetLamportsPerSignature": 10000,
        "targetSignaturesPerSlot": 20000
      }
    }
  },
  "id": 1
}