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

Get sync committees for a state

Retrieves the sync committees for the given state.

Parameters

NameRequiredTypeDetail
state_idStringState identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <hex encoded stateRoot with 0x prefix>.
epochString (Query)Fetch committees for the given epoch. If not present then the committees for the epoch of the state will be obtained.

Result

Returns the sync committees for the given state.

Example

Request

curl <your-endpoint>/eth/v1/beacon/states/head/sync_committees?epoch=149702

Return

{
    "data": {
        "validators": [
            "296132",
            "282561",
            "401503",
            "214955",
            "366297",
            "391164",
            "156928",
           ...
            "116261",
            "93413",
            "181358",
            "37803"
        ],
        "validator_aggregates": [
            [
                "296132",
                "282561",
                "401503",
                "214955",
               ...
                "181358",
                "37803"
            ]
        ]
    },
    "execution_optimistic": false
}