# eth/v1/beacon/blocks/{block_id}/attestations RPC method

Ethereum consensus layer Beacon Chain API call that returns attestations (opens new window) included in requested block.

Parameters:

  • block_idstring — (required) the block identifier with:
    • head — the canonical head of the chain in the view of the node that you are sending the call to.
    • genesis — the genesis state of the chain.
    • justified — the slot in the current epoch that has received attestations (opens new window) from two thirds of the Ethereum validators.
    • finalized — the previously justified slot that is now in the epoch that is at least immediately previous to the current epoch.
    • slot — the slot number.
    • 0xblockRoot — the root hash of the Beacon Chain block (opens new window).

Returns:

  • execution_optimisticbooleantrue 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.
    • dataarrayobjects — the Attestation (opens new window) object with:
      • aggregation_bitsstring — attester aggregation bits.
      • signaturestring — the BLS aggregate signature.
      • dataobject — the AttestationData (opens new window) object with:
      • slotstring — the corresponding slot.
      • indexstring — the index.
      • beacon_block_rootstring — the LMD GHOST vote.
      • sourceobject — the Checkpoint (opens new window) object with:
        • epochstring — the corresponding epoch.
        • rootstring — the corresponding root.
      • targetobject — the Checkpoint (opens new window) object with:
        • epochstring — the corresponding epoch.
        • rootstring — the corresponding root.

Example:

curl -X GET https://beacon-nd-123-456-789.p2pify.com/3c6e0b8a9c15224a8228b9a98ca1531d/eth/v1/beacon/blocks/head/root