Beacon

Get all committees for a state.

Retrieves the committees for the given state.

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

Request

  • Base URL: http://public-mainnet-node.ethereum.org
  • URL: http://public-mainnet-node.ethereum.org/eth/v1/beacon/states/{state_id}/committees
  • Auth: none declared

Path parameters

state_idstring required

State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.

Query parameters

epochstring

Fetch committees for the given epoch. If not present then the committees for the epoch of the state will be obtained.

indexstring

Restrict returned values to those matching the supplied committee index.

slotstring

Restrict returned values to those matching the supplied slot.

Response

Success

execution_optimisticboolean

True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.

finalizedboolean

True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.

Example response

{
  "data": [
    {
      "index": "1",
      "slot": "1",
      "validators": [
        "1"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.