POST
https://nd-326-444-187.p2pify.com
/
9de47db917d4f69168e3fed02217d15b
curl --request POST \
  --url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "getInflationReward",
  "params": [
    [
      "6D2jqw9hyVCpppZexquxa74Fn33rJzzBx38T58VucHx9"
    ],
    {
      "epoch": 554
    }
  ]
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": [
    {
      "epoch": 123,
      "effectiveSlot": 123,
      "amount": 123,
      "postBalance": 123
    }
  ]
}

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.

Body

application/json

Response

200 - application/json

Inflation reward details

The response is of type object.