/eth/v1/beacon/rewards/attestations/{epoch} REST API Endpoint
Query Parameters
epoch
integer
REQUIRED
Loading...
Body Parameters
public_key
string
REQUIRED
Loading...
Returns
execution_optimistic
boolean
Loading...
finalized
boolean
Loading...
data
object
Loading...
ideal_rewards
object
Loading...
effective_balance
string
Loading...
head
string
Loading...
target
string
Loading...
source
string
Loading...
inclusion_delay
string
Loading...
inactivity
string
Loading...
total_rewards
object
Loading...
validator_index
string
Loading...
head
string
Loading...
target
string
Loading...
source
string
Loading...
inclusion_delay
string
Loading...
inactivity
string
Loading...
Request
1curl --location 'https://docs-demo.quiknode.pro/eth/v1/beacon/rewards/attestations/294266' \2--header 'accept: application/json' \3--header 'Content-Type: application/json' \4--data '["12345", "67890"]'
1curl --location 'https://docs-demo.quiknode.pro/eth/v1/beacon/rewards/attestations/294266' \2--header 'accept: application/json' \3--header 'Content-Type: application/json' \4--data '["12345", "67890"]'
Response
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}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free