Path Parameters
- epochintegerREQUIRED
The epoch to get rewards info from
Body Parameters
- public_keystringREQUIRED
An array of either hex encoded public key (any bytes48 with 0x prefix) or validator index
Returns
- execution_optimisticboolean
A boolean indicating whether the execution of rewards for the specified epoch is done optimistically or not
- finalizedboolean
(Optional) A boolean indicating whether the rewards for the specified epoch have been finalized
- dataobject
An object containing two arrays of reward-related information for attestations in the specified epoch
- ideal_rewardsobject
An array containing ideal reward metrics for attestations in the specified epoch
- effective_balancestring
The effective balance for the ideal reward calculation
- headstring
The reward for attesting to the head block
- targetstring
The reward for attesting to the target block
- sourcestring
The reward for attesting to the source block
- inclusion_delaystring
(Optional) The reward for including the attestation in a block with a specific delay
- inactivitystring
(Optional) The inactivity penalty for the ideal reward calculation
- total_rewardsobject
An array containing total reward metrics for individual validators in the specified epoch
- validator_indexstring
The index of the validator
- headstring
The reward for attesting to the head block for the specified validator
- targetstring
The reward for attesting to the target block for the specified validator
- sourcestring
The reward for attesting to the source block for the specified validator
- inclusion_delaystring
(Optional) The reward for including the attestation in a block with a specific delay for the specified validator
- inactivitystring
(Optional) The inactivity penalty for the total reward calculation for the specified validator
1{2"execution_optimistic": false,3"finalized": false,4"data": {5"ideal_rewards": [6{7"effective_balance": "1",8"head": "2500",9"target": "5000",10"source": "5000",11"inclusion_delay": "1",12"inactivity": "5000"13}14],15"total_rewards": [16{17"validator_index": "1",18"head": "2000",19"target": "2000",20"source": "4000",21"inclusion_delay": "1",22"inactivity": "2000"23}24]25}26}
1{2"execution_optimistic": false,3"finalized": false,4"data": {5"ideal_rewards": [6{7"effective_balance": "1",8"head": "2500",9"target": "5000",10"source": "5000",11"inclusion_delay": "1",12"inactivity": "5000"13}14],15"total_rewards": [16{17"validator_index": "1",18"head": "2000",19"target": "2000",20"source": "4000",21"inclusion_delay": "1",22"inactivity": "2000"23}24]25}26}