getInflationRate | Solana

Solana getInflationRate method

The Solana getInflationRate method returns the current inflation rate.

This method provides the current inflation rate, which is the rate at which new lamports are minted and distributed. It is useful for understanding the current rate of inflation in the network.

πŸ‘

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method does not require any parameters.

Response

  • value β€” the current inflation rate:
    • total β€” the total inflation rate.
    • validator β€” the portion of the inflation rate that goes to validators.
    • foundation β€” the portion of the inflation rate that goes to the foundation.
    • epoch β€” the current epoch.

Use case

A practical use case for getInflationRate is to understand the current rate of inflation in the network. This can be useful for wallets or other applications that need to display or make use of this information.

Try the getInflationRate RPC method yourself

Language
Click Try It! to start a request and see the response here!