Links

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

Get sync committees for a state
Provides the state's current sync committee information. Provides the subcommittee assignments as well.

Example Request and Result for /v1/beacon/states/{state_id}/committees

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/states/{state_id}/sync_committees endpoint. Additionally, we present the resulting response containing information about state's current sync committees.

Parameters

Field
Type
Description
state_id*
string
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
Example : head
epoch
string
Fetch sync committees for the given epoch. If not present then the sync committees for the epoch of the state will be obtained.
The example in this section uses a non-existing project id.
Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
get
https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/states/<state_id>/sync_committees
Get all committees for a state
Parameters
Path
state_id*
head
Query
epoch
string
1
Responses
200: OK
Expand for a detailed response example

Curl Request example

curl -X 'GET' \
'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/states/head/sync_committees?epoch=2' \
-H 'accept: application/json'