Register and show off your project at Ethereum QuickPitch and win $10,000. Apply now

Contents

eth-v1-beacon-blocks-{block_id}-attestations RPC method

Parameters:

  1. block_id - string - Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", {slot}, {hex encoded blockRoot with 0x prefix}.

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] - The Attestation object from the CL spec containing the following values:

    aggregation_bits - string - Attester aggregation bits.

    signature - string - BLS aggregate signature.

    data - object - The AttestationData object from the CL spec.

    slot - String - The corresponding slot.

    index - String - The index.

    beacon_block_root - String - LMD GHOST vote.

    source - object - The Checkpoint

    epoch - string - The corresponding epoch.

    root - string - The corresponding root.

    target - object - The Checkpoint

    epoch - string - The corresponding epoch

    root - string - The corresponding root.

Code Examples:

curl -X GET \
    "http://sample-endpoint-name.network.quiknode.pro/token-goes-here/eth/v1/beacon/blocks/head/attestations" \
    -H "accept: application/json"
Ready to get started? Create a free account