Skip to main content

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

Requests the beacon node to provide a set of attestation duties, which should be performed by validators, for a particular epoch.

Updated on
Nov 11, 2024

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

Query Parameters

epoch
integer
REQUIRED
The epoch value and it should only be allowed 1 epoch ahead

Body Parameters

validator_indices
array
REQUIRED
An array of the validator indices for which to obtain the duties

Returns

dependent_root
string
The hash representing the root on which the attestation duties depend
execution_optimistic
boolean
The boolean indicating if the execution layer state is optimistic
data
array
An array of data which contains following fields:
pubkey
string
The public key of the validator assigned to attest
validator_index
string
The index of the validator within the registry
committees_at_slot
string
The number of committees in the specified slot
committee_index
string
The index of the committee the validator is assigned to
committee_length
string
The total number of validators in the assigned committee
validator_committee_index
string
The position of the validator within the committee
slot
string
The specific slot for which the attestation duty is assigned
Request
1
curl --location 'https://docs-demo.quiknode.pro/eth/v1/validator/duties/attester/{EPOCH}' \
2
--header 'accept: application/json' \
3
--header 'Content-Type: application/json' \
4
--data '[
5
"1"
6
]'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free