curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "getInflationReward",
"params": [
[
"6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu"
]
]
}
'{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"result": [
{
"epoch": 2,
"effectiveSlot": 224,
"amount": 2500,
"postBalance": 499999442500,
"commission": 5
}
]
}curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "getInflationReward",
"params": [
[
"6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu"
]
]
}
'{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"result": [
{
"epoch": 2,
"effectiveSlot": 224,
"amount": 2500,
"postBalance": 499999442500,
"commission": 5
}
]
}The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getInflationReward "getInflationReward"
Parameters for the method.
List of Solana addresses (validators or delegators) to retrieve staking rewards for, as base-58 encoded strings.
[
"6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu",
"BGsqMegLpV6n6Ve146sSX2dTjUMj3M92HnU8BbNRMhF2"
]Successfully retrieved inflation reward information.
The JSON-RPC protocol version.
2.0 "2.0"
Identifier matching the request.
"1"
Array of detailed staking reward information for each requested account, in the same order as requested.
Solana staking reward details for this account.
Show child attributes
Solana epoch number when these staking rewards were distributed.
2
Specific blockchain slot when these rewards were calculated and became effective.
224
Staking reward amount in lamports (1 SOL = 1,000,000,000 lamports) earned by this account.
2500
Account balance in lamports after this staking reward was credited.
499999442500
Validator commission percentage taken from delegator rewards (null for delegator accounts, 0-100 for validators).
5
Was this page helpful?