Skip to main content

getFeeRateGovernor RPC Method

Returns the fee rate governor information from the root bank.

Updated on
Aug 21, 2024

getFeeRateGovernor RPC Method

Please note that this method is deprecated, no longer available on Devnet and Testnet, and will be removed from Mainnet soon. For a similar method you can use Solana's getFeeForMessage RPC method.

Parameters

This method does not accept any parameters

Returns

result
An object with the following fields:
context
The information about the current state of the program
apiVersion
The version of the Solana RPC API to use
slot
An integer representing the slot for which to retrieve the fee calculator
value
A JSON object describing the cluster fee rate at the queried blockhash
feeRateGovernor
A nested object that contains the current fee rate governor configuration:
burnPercent
The percentage of fees collected to be destroyed
maxLamportsPerSignature
The maximum achievable value of lamportsPerSignature for the upcoming slot
minLamportsPerSignature
The minimum achievable value of lamportsPerSignature for the upcoming slot
targetLamportsPerSignature
The target fee rate within the cluster
targetSignaturesPerSlot
The optimal signature rate within the cluster
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","id":1, "method":"getFeeRateGovernor"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free