Build more with QuickNode - New pricing plans and a free tier! Read the press release

Contents

eth-v1-beacon-states-{state_id}-committees RPC method

Parameters:

  1. state_id - string - (Required) State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", {slot}, {ex encoded stateRoot with 0x prefix}.
  2. epoch - string - Fetch committees for the given epoch. If not present then the committees for the epoch of the state will be obtained.
  3. index - string - Restrict returned values to those matching the supplied committee index.
  4. slot - string - Restrict returned values to those matching the supplied slot.

Returns:

  1. execution_optimistic - Boolean - 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.
  2. Data - array[objects] - Group of validators assigned to attest at specific slot and that have the same committee index (shard in phase 1). Contains the following values:

    index - string - Committee index at a slot.

    slot - string - The slot.

    validator - array - List of validator indices assigned to this committee.

Code Examples:

curl -X GET \
    "http://sample-endpoint-name.network.quiknode.pro/token-goes-here/eth/v1/beacon/states/head/committees" \
    -H "accept: application/json"
Ready to try QuickNode? Get Started