v1
latestOpenAPI 3.1.02026-07-2612501.4 MBGetBeaconStatesCommitteesByStateId
Get all committees for a state.
get/{apiKey}/eth/v1/beacon/states/{stateId}/committees
Path parameters
apiKeystring required
<style>
.custom-style {
color: #048FF4;
}
</style>
For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.
stateIdstring required
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
Query parameters
epochstring
Example:1
Fetch committees for the given epoch. If not present then the committees for the epoch of the state will be obtained.
indexstring
Example:1
Restrict returned values to those matching the supplied committee index.
slotstring
Example:1
Restrict returned values to those matching the supplied slot.
Response
The committees
Example response
{
"data": [
{
"index": "1",
"slot": "1",
"validators": [
"1"
]
}
]
}