Links

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

Get sync committees for a state
get
https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
/eth/v1/beacon/states/{state_id}/sync_committees
Get sync committees for a state.

Retrieves the sync committees for the given state.

Parameters
Path
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\>.
Query
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.
Responses
200: OK
Success
400: Bad Request
Invalid state ID or epoch
404: Not Found
State not found
500: Internal Server Error
Beacon node internal error.
Mainnet
Testnet
curl -X GET \
"curl https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/sync_committees \
-H "Content-Type: application/json"
curl -X GET \
"curl https://goerli.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/sync_committees \
-H "Content-Type: application/json"