---
title: "PostBeaconRewardsAttestationsByEpoch"
method: POST
path: "/{apiKey}/eth/v1/beacon/rewards/attestations/{epoch}"
---

# PostBeaconRewardsAttestationsByEpoch

`POST /{apiKey}/eth/v1/beacon/rewards/attestations/{epoch}`

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.

## Path parameters

- `apiKey` string, 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>.
- `epoch` string, required

## Request body

- string[]

## Response `200`

Attestation rewards

- object
  - `execution_optimistic` boolean, required — True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.
  - `finalized` boolean, required — True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.
  - `data` object, required — Rewards info for attestations
    - `ideal_rewards` object[], required
      - `effective_balance` string, required — validator's effective balance in gwei
      - `head` string, required — Ideal attester's reward for head vote in gwei
      - `target` string, required — Ideal attester's reward for target vote in gwei
      - `source` string, required — Ideal attester's reward for source vote in gwei
      - `inclusion_delay` string — Ideal attester's inclusion_delay reward in gwei (phase0 only)
      - `inactivity` string, required — Ideal attester's inactivity penalty in gwei
    - `total_rewards` object[], required
      - `validator_index` string, required — one entry for every validator based on their attestations in the epoch
      - `head` string, required — attester's reward for head vote in gwei
      - `target` string, required — attester's reward for target vote in gwei
      - `source` string, required — attester's reward for source vote in gwei
      - `inclusion_delay` string — attester's inclusion_delay reward in gwei (phase0 only)
      - `inactivity` string, required — attester's inactivity penalty in gwei

---

[API](https://skmtc.net/zan/apis/zan-getnftmetadata.md) · [All operations](https://skmtc.net/zan/apis/zan-getnftmetadata/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zan/zan-getnftmetadata/revisions/be8fa2338895/schema)
