getInflationReward | Solana

You can find the current validator addresses on Solscan > Validators > Vote accounts.

Solana getInflationReward Method

The Solana getInflationReward method returns the inflation reward for a list of addresses for an epoch.

This method provides the inflation reward, which is the amount of new lamports minted and distributed to the addresses. It is useful for understanding the distribution of new lamports 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

  • addresses โ€” an array of addresses to retrieve the inflation reward for.
  • epoch โ€” the epoch to retrieve the inflation reward for.

Response

  • value โ€” an array of inflation reward objects, each containing:
    • epoch โ€” the epoch the reward was for.
    • effectiveSlot โ€” the slot the reward was effective at.
    • amount โ€” the amount of the reward.
    • postBalance โ€” the balance of the address after the reward was applied.

Use case

A practical use case for getInflationReward is to understand the distribution of new lamports in the network. This can be useful for wallets or other applications that need to display or make use of this information.

Try the getInflationReward RPC method yourself

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