The goal of this document is to provide a user-friendly guide to calculate the staking payouts for validators in the Polkadot
Relay Chain manually, that is without employing Substrate Sidecar API
.
The calculation for the payout for each validator/nominator for an era is best described in the Polkadot Wiki, but in sinthesis the payout for the validator depends on the points earned during that era, its stake and it's commission. For the Nominator, on other hand, it depends on its stake and the points and commissions of its backed validators.
To calculate the payout for an era for a validator, we need the following data:
- Validator's commission (
commission
)