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

Get all committees for a state

Retrieves the committees for the given state.

Parameters

NameRequiredTypeDetail
state_id✅StringState identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <hex encoded stateRoot with 0x prefix>.
epoch❌String (Query)Fetch committees for the given epoch. If not present then the committees for the epoch of the state will be obtained.
index❌String (Query)Restrict returned values to those matching the supplied committee index.
slot❌String (Query)Restrict returned values to those matching the supplied slot.

Result

Returns the committees for the given state.

Example

Request

curl <your-endpoint>/eth/v1/beacon/states/head/committees?epoch=0&index=1&slot=1

Return

{
    "data": [
        {
            "index": "1",
            "slot": "1",
            "validators": [
                "7959",
                "18659",
                "10942",
                "7920",
                "4",
                ...
                "1244",
                "8500",
                "18946"
            ]
        }
    ],
    "execution_optimistic": false
}