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
}
]
}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
}
]
}getInflationReward MethodgetInflationReward 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.
addresses — an array of addresses to retrieve the inflation reward for.epoch — the epoch to retrieve the inflation reward for.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.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.Was this page helpful?