getFeeRateGovernor RPC Method
Returns the fee rate governor information from the root bank
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 destroyedmaxLamportsPerSignature: <u64>- Largest valuelamportsPerSignaturecan attain for the next slotminLamportsPerSignature: <u64>- Smallest valuelamportsPerSignaturecan attain for the next slottargetLamportsPerSignature: <u64>- Desired fee rate for the clustertargetSignaturesPerSlot: <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
}