Attestation Rewards

Rewards for attestations for validator on Beacon Chain.

Beacon Chain Attestation Rewards

The majority of a validator's rewards come from making attestations. While assigning committees and slots is randomized, each active validator is guaranteed to make one attestation per epoch.

Validators earn rewards for attestations only when included in Beacon Chain blocks. Each attestation consists of three votes, with rewards based on the following criteria:

  • Inclusion of the attestation with the correct source checkpoint within 5 slots

  • Inclusion of the attestation with the correct target checkpoint within 32 slots

  • Inclusion of the attestation with the correct head block within 1 slot

Attestation rewards for Beacon chain are split up into two separate tables. Both tables are retrieved from /eth/v1/beacon/rewards/attestations/{epoch} RPC Method.

Attestation Rewards Daily

Daily aggregated of attestation rewards per validator. There is one validator entry per day. The rewards data are aggregated from beacon.raw.total_rewards daily.

Total Rewards

Query Sample

Finding the total rewards for specific Epoch

select 
    epoch, 
    count(distinct validator_index) as validators, 
    sum(head) as sum_head,
    sum(target) as sum_target,
    sum(source) as sum_source,
    sum(inactivity) as sum_inactvity,
    sum_head + sum_target + sum_source + sum_inactvity as epoch_attestation_reward
from beacon.raw.total_rewards
where epoch = 289610
group by all 

Total Reward Columns

beacon.raw.total_rewards contains the reward metrics for individual validators in the specified epoch.

Ideal Reward Columns

Table containing ideal reward metrics for attestations in the specified epoch.

Last updated