Skip to main content

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

Retrieves rewards info for sync committee members specified by array of public keys or validator index. If no array is provided, return reward info for every committee member.

Updated on
Jan 18, 2024

/eth/v1/beacon/rewards/sync_committee/{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), finalized or justified)

Body Parameters

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

Returns

execution_optimistic
boolean
The boolean field indicates whether the execution of the rewards for the sync committee at the specified block is done optimistically or not
finalized
boolean
The boolean field that signifies whether the rewards for the sync committee at the specified block have been finalized
data
object
An array containing information about rewards for individual validators in the sync committee at the specified block
validator_index
string
A string representing the index of the validator within the sync committee
reward
string
A string indicating the amount of reward (in a specific unit) earned by the validator at the specified index within the sync committee
Request
1
curl --location 'https://docs-demo.quiknode.pro/eth/v1/beacon/rewards/sync_committee/6499529' \
2
--header 'accept: application/json' \
3
--header 'Content-Type: application/json' \
4
--data '[]'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free