Skip to main content

/eth/v1/beacon/states/{state_id}/committees RPC Method

Retrieves the committees for the given state.

Updated on
Oct 4, 2023

/eth/v1/beacon/states/{state_id}/committees RPC Method

Parameters

state_id
string
REQUIRED
The state identifier. It can be one of: head (canonical head in node's view), genesis, finalized,justified, slot and stateRoot (hex encoded stateRoot with 0x prefix)
epoch
string
The fetch committees for the given epoch. If not present then the committees for the epoch of the state will be obtained
index
string
The restrict returned values to those matching the supplied committee index
slot
string
The restrict returned values to those matching the supplied slot

Returns

execution_optimistic
Boolean
It's true if the response references an unverified execution payload. The optimistic information may be invalidated at a later time. If the field is not present, assume the false value
data
array
A group of validators assigned to attest at specific slot and that have the same committee index (shard in phase 1). It contains the following values:
index
string
The committee index at a slot
slot
string
The slot
validators
array
The list of validator indices assigned to this committee
Request
1
curl -X GET \
2
"https://docs-demo.quiknode.pro/eth/v1/beacon/states/head/committees" \
3
-H "accept: application/json"
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free