Parameters
chainId
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getInflationReward"
required
JSON-RPC method name.
Parameters for method getInflationReward: [addresses, config]Positional parameters for getInflationReward:params[0]: List of addresses to get inflation rewards for.params[1]: Optional configuration object.
Returns
Array of reward objects for epochs in which rewards were credited.
Reward details for a specific epoch and slot.
Epoch during which the reward was earned.
Slot at which the reward became effective.
Reward amount in lamports.
Account balance after reward was applied (in lamports).
Commission percentage of the vote account at the time of reward. May be undefined.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=solana-devnet \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getInflationReward",
"params": [
[
"6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu",
"BGsqMegLpV6n6Ve146sSX2dTjUMj3M92HnU8BbNRMhF2"
],
{
"epoch": 2
}
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"epoch": 2,
"effectiveSlot": 224,
"amount": 2500,
"postBalance": 499999442500
},
null
]
}