AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

getFeeRateGovernor RPC Method

This method is deprecated and will not be supported in future versions.

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.

Parameters:

  1. None

Returns:

  1. 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

Code Examples:

from solana.rpc.api import Client
solana_client = Client("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/")
print(solana_client.get_fee_rate_governor())
Ready to get started? Create a free account