/accounts/{accountId}/staking-payouts REST API Endpoint
Path Parameters
accountId
string
REQUIRED
The SS58 address of the account. Must be a _Stash_ account.
Query Parameters
at
string
The block at which to query staking payouts.
depth
integer
The number of eras to query for payouts must be less than or equal to HISTORY_DEPTH. If the calculated start era (era - (depth - 1)) is less than 0, the query will begin from era 0
era
string
The era to query at.
unclaimedOnly
boolean
Return unclaimed rewards if set to true
Returns
at
object
An object containing information about the state.
hash
string
The hash of the block at the specified state.
height
string
The height of the block at the specified state.
erasPayouts
array
An array of objects, each representing the payout information for a particular era.
era
string
The era for which the payouts are being reported
totalEraRewardPoints
string
The total reward points for the era
totalEraPayout
string
The total payout for the era.
payouts
array
An array of objects, each representing the payout details for a specific validator and their nominators.
validatorId
string
The identifier of the validator.
nominatorStakingPayout
string
The staking payout for the nominator.
claimed
boolean
A boolean indicating whether the payout has been claimed
totalValidatorRewardPoints
string
The total reward points earned by the validator.
validatorCommission
string
The commission taken by the validator.
totalValidatorExposure
string
The total exposure of the validator.
nominatorExposure
string
The exposure of the nominator.
Request
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/staking-payouts' \2--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free