Skip to main content

/eth/v1/validator/duties/sync/{epoch} RPC Method

Retrieves the sync committee duties for specified validators during a target epoch.

Updated on
Jan 29, 2025

/eth/v1/validator/duties/sync/{epoch} RPC Method

Path Parameters

epoch
integer
REQUIRED
The epoch value for which to request sync committee duties.

Body Parameters

validator_indices
array
REQUIRED
An array of validator indices for which to obtain sync committee duties. Each index identifies a specific validator in the beacon chain's validator registry

Returns

execution_optimistic
boolean
Whether the response is based on optimistic or finalized data. If true, the duties response is based on the optimistic (non-finalized) head. Clients should wait for finalization if they need stronger guarantees
data
array
Array of validator sync committee duties, one entry per requested validator that is selected for sync committee duties in the specified epoch
pubkey
string
The validator's BLS public key, encoded as a hexadecimal string with '0x' prefix
validator_index
string
Index of the validator in the beacon state's validator registry, represented as a string containing a decimal number
validator_sync_committee_indices
array
Array of indices indicating the validator's positions within the sync committee. A validator may have multiple positions. Each index is represented as a string containing a decimal number from 0 to 511 (sync committee size - 1)
Request
1
curl --location 'https://docs-demo.quiknode.pro/eth/v1/validator/duties/sync/{EPOCH}' \
2
--header 'accept: application/json' \
3
--header 'Content-Type: application/json' \
4
--data '[
5
"297215"
6
]'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free