RC get staking payouts
Authorizations
ApiKeyAuthApiKeyAuthapi-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
accountIdstringrequiredpathSS58-encoded account address
atstringqueryBlock identifier (number or hash)
depthinteger<int32>>= 0queryNumber of eras to query (default: 1)
erainteger<int32>>= 0queryThe era to query at (default: active_era - 1)
unclaimedOnlybooleanqueryOnly show unclaimed rewards (default: true)
Response
Staking payouts
Invalid account address
Internal server error
Relay chain not configured