Returns the inflation / staking reward for a list of addresses for an epoch.
POST Category: inflation
curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getInflationReward",
"params": [
["6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu", "BGsqMegLpV6n6Ve146sSX2dTjUMj3M92HnU8BbNRMhF2"],
{ "epoch": 2 }
]
}'
{
"jsonrpc": "2.0",
"result": [
{ "amount": 2500, "effectiveSlot": 224, "epoch": 2, "postBalance": 499999442500 },
null
],
"id": 1
}