AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

eth-v1-beacon-blocks-{block_id}-attestations REST API Endpoint

Parameters:

  1. block_id - string - The state identifier. It can be one of: head (canonical head in node's view), genesis, finalized, justified, slot and blockRoot (hex encoded blockRoot with 0x prefix)

Returns:

  1. execution_optimistic - Boolean - It's true if the response references an unverified execution payload. The optimistic information may be invalidated at a later time. If the field is not present, assume the false value
  2. Data - array - The attestation object from the CL spec containing the following values:

    aggregation_bits - string - The attester aggregation bits

    data - array - The AttestationData object from the CL spec

    slot - string - The corresponding slot

    index - string - The index

    beacon_block_root - string - The LMD GHOST vote

    source - array - The Checkpoint

    epoch - string - The corresponding epoch

    root - string - The corresponding root

    target - array - The Checkpoint

    epoch - string - The corresponding epoch

    root - string - The corresponding root

    signature - string - The BLS aggregate signature

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