Home

RC get staking payouts

GET
https://ksm-playbook.nownodes.io/v1/rc/accounts/{accountId}/staking-payouts

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Changed. Validator self-stake incentive is now included. Each entry of payouts has a new field validatorSelfStakeIncentive, and each entry of erasPayouts has a new field totalEraSelfStakeIncentivePayout (both "0" on chains without this incentive). totalEraPayout now explicitly covers the staker reward pool only; add totalEraSelfStakeIncentivePayout to get the full validator era payout. validatorSelfStakeIncentive is income for the queried account only when validatorId equals the account, so do not sum it across entries. Addresses encoded with any SS58 prefix are now accepted; before, an address from another network was rejected with 400.

Returns staking payout information for a given account on the relay chain.

Parameters

accountIdstringrequiredpath

SS58-encoded account address

atstringquery

Block identifier (number or hash)

depthinteger<int32>>= 0query

Number of eras to query (default: 1)

erainteger<int32>>= 0query

The era to query at (default: active_era - 1)

unclaimedOnlybooleanquery

Only show unclaimed rewards (default: true)

Response

200OK

Staking payouts

400Bad Request

Invalid account address

500Internal Server Error

Internal server error

503Service Unavailable

Relay chain not configured