v1
latestOpenAPI 3.1.02026-07-2612501.4 MBPostBeaconRewardsAttestationsByEpoch
Get attestations rewards. Retrieve attestation reward info for validators specified by array of public keys or validator index. If no array is provided, return reward info for every validator.
post/{apiKey}/eth/v1/beacon/rewards/attestations/{epoch}
Path parameters
apiKeystring required
<style>
.custom-style {
color: #048FF4;
}
</style>
For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.
epochstring required
Example:1
The epoch to get rewards info from
Request body
string[] required
Response
Attestation rewards
Example response
{
"data": {
"ideal_rewards": [
{
"effective_balance": "1000000000",
"head": "2500",
"target": "5000",
"source": "5000",
"inclusion_delay": "5000",
"inactivity": "5000"
}
],
"total_rewards": [
{
"validator_index": "0",
"head": "2000",
"target": "2000",
"source": "4000",
"inclusion_delay": "2000",
"inactivity": "2000"
}
]
}
}