Staking payouts
Returns payout information for the last specified eras. If specifying both the depth and era query params, this endpoint will return information for (era - depth) through era. (i.e. if depth=5 and era=20 information will be returned for eras 16 through 20). N.B. You cannot query eras less then current_era - HISTORY_DEPTH
. N.B. The nominator*
fields correspond to the address being queried, even if it is a validator's Stash address. This is because a validator is technically nominating itself.
SS58 address of the account. Must be a Stash account.
Block height (as a non-negative integer) or hash (as a hex string).
The number of eras to query for payouts of. Must be less than or equal to HISTORY_DEPTH
. In cases where era - (depth -1)
is less than 0, the first era queried will be 0.
1
The era to query at.
`active_era - 1`
Only return unclaimed rewards.
true
GET /accounts/{accountId}/staking-payouts HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
{
"at": {
"hash": "text",
"height": "text"
},
"erasPayouts": [
{
"era": "text",
"totalEraRewardPoints": "text",
"totalEraPayout": "text",
"payouts": [
{
"validatorId": "text",
"nominatorStakingPayout": "text",
"claimed": true,
"totalValidatorRewardPoints": "text",
"validatorCommission": "text",
"totalValidatorExposure": "text",
"nominatorExposure": "text"
}
]
}
]
}