Skip to main content

/eth/v1/beacon/rewards/blocks/{block_id} RPC Method

Retrieve block reward info for a single block.

Updated on
Jan 18, 2024

/eth/v1/beacon/rewards/blocks/{block_id} RPC Method

Query Parameters

block_id
string
REQUIRED
The state identifier. It can be a slot number, blockRoot (encoded in hexadecimal format) or tags (Supported tags include - head (canonical head in node's view), genesis, finalized or justified)

Returns

execution_optimistic
boolean
A boolean indicating whether the execution of rewards for the specified block is done optimistically or not
finalized
boolean
A boolean indicating whether the rewards for the specified block have been finalized
data
object
An object containing various reward-related metrics for the specified block
proposer_index
string
The index of the proposer for the specified block
total
string
The total reward for the specified block
attestations
string
The total rewards specifically for attestations in the specified block
sync_aggregate
string
The total reward for the sync aggregate in the specified block
proposer_slashings
string
The number of proposer slashings that occurred in the specified block
attester_slashings
string
The number of attester slashings that occurred in the specified block
Request
1
curl --location 'https://docs-demo.quiknode.pro/eth/v1/beacon/rewards/blocks/head' \
2
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free