> For the complete documentation index, see [llms.txt](https://docs.blockpi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockpi.io/build/api-reference/ethereum/ethereum-beacon-api/eth-v1-beacon-rewards-attestations-epoch.md).

# /eth/v1/beacon/rewards/attestations/{epoch}

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.

#### P**arameters:**

**epoch-string**, The epoch to get rewards info from

**Request body：**

An array of either hex encoded public key (any bytes48 with 0x prefix) or validator index

#### Example:

{% code overflow="wrap" %}

```json
// Request
curl -X POST-H 'Content-Type: application/json' 
https://ethereum-beacon.blockpi.network/rpc/v1/your-rpc-key/eth/v1/beacon/rewards/attestations/1
'
<Request body>
'

// Result

```

{% endcode %}
