/eth/v1/beacon/states/{state_id}/sync_committees
Get sync committees for a state
Retrieves the sync committees for the given state.
Path parameters
state_idstringRequiredExample:
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
head
Query parameters
epochall ofOptional
Fetch sync committees for the given epoch. If not present then the sync committees for the epoch of the state will be obtained.
stringOptionalExample:
1
anyOptional
Responses
200
Success
application/json
400
Invalid state ID or epoch
application/json
404
State not found
application/json
500
Beacon node internal error.
application/json
get
GET /v1/<YOUR_API_KEY_HERE>//eth/v1/beacon/states/{state_id}/sync_committees HTTP/1.1
Host: mainnet.ethereum.validationcloud.io
Accept: */*
{
"execution_optimistic": null,
"data": {
"validators": {
"0": "1"
},
"validator_aggregates": [
[
"1"
],
null
]
}
}
curl -X GET \
"https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/sync_committees" \
-H "Content-Type: application/json"
Previous/eth/v1/beacon/states/{state_id}/rootNext/eth/v1/beacon/states/{state_id}/validator_balances
Last updated
Was this helpful?