Links

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

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

Retrieves the 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 committees for the given epoch. If not present then the committees for the epoch of the state will be obtained.
index
string
Restrict returned values to those matching the supplied committee index.
slot
string
Restrict returned values to those matching the supplied slot.
Responses
200: OK
Success
400: Bad Request
Invalid state ID, index, epoch, slot, or combination thereof
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/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/committees \
-H "Content-Type: application/json"