Returns the inflation / staking reward for a list of addresses for an epoch
Last updated 4 months ago
Was this helpful?
The JSON-RPC protocol version.
2.0
A unique identifier for the request.
1
The name of the RPC method to invoke.
getInflationReward
Parameters for the method.
POST / HTTP/1.1 Host: mainnet.helius-rpc.com Content-Type: application/json Accept: */* Content-Length: 163 { "jsonrpc": "2.0", "id": "1", "method": "getInflationReward", "params": [ [ "6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu", "BGsqMegLpV6n6Ve146sSX2dTjUMj3M92HnU8BbNRMhF2" ] ] }
Successfully retrieved inflation reward information.
{ "jsonrpc": "2.0", "id": "1", "result": [ { "epoch": 2, "effectiveSlot": 224, "amount": 2500, "postBalance": 499999442500, "commission": 5 } ] }