> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Attestations of the beacon block by block_id

The `/eth/v1/beacon/blocks/{block_id}/attestations` method is a key API endpoint in the Ethereum Beacon Chain. It provides detailed information about the attestations included in a specified beacon block. Attestations are critical to the Ethereum PoS mechanism, where validators attest or agree on the state of the blockchain. This endpoint allows developers and network participants to access attestations within a specific block, essential for analysis, verification, and understanding the consensus process.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `{block_id}`: This parameter specifies the identifier of the beacon block for which the attestations are being queried. It can be a slot number, a block root, or a special value like 'genesis' or 'head'.

## Response

* `array` — list of attestation objects included in the specified block.
  * Each `object` in the array represents an individual attestation, containing:
    * `aggregation_bits` — a bitfield indicating the group of validators that participated in this attestation.
    * `data` — the data being attested to by the validators, including:
      * `slot`: The slot number of the attested block.
      * `index`: The committee index associated with this attestation.
      * `beacon_block_root`: The root of the beacon block being attested.
      * `source`: The source checkpoint of the attestation.
      * `target`: The target checkpoint of the attestation.
    * `signature` — the collective signature of the validators who created this attestation. This signature is a key component in validating the attestation's authenticity and agreement.

The `/eth/v1/beacon/blocks/{block_id}/attestations` method is instrumental in providing transparency and insight into the validation and consensus process of the Ethereum network. It enables users to verify and analyze the validators' consensus on specific blocks, enhancing the understanding and security of the blockchain.


## OpenAPI

````yaml /openapi/ethereum_beacon_chain_api/validatiors_info/attestation_of_beacon_block_by_block_id.json GET /0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/blocks/{block_id}/attestations
openapi: 3.0.0
info:
  title: Ethereum Beacon Block Attestations API
  version: 1.0.0
servers:
  - url: https://beacon-nd-422-757-666.p2pify.com
security: []
paths:
  /0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/blocks/{block_id}/attestations:
    get:
      summary: Get attestations of the beacon block by block_id
      operationId: getBeaconBlockAttestationsByBlockId
      parameters:
        - name: block_id
          in: path
          description: >-
            Block identifier, e.g., 'head', 'genesis', 'finalized', or a
            specific block root.
          required: true
          schema:
            type: string
            default: head
      responses:
        '200':
          description: Beacon block attestations successfully retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeaconBlockAttestationsList'
        '404':
          description: Beacon block attestations not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BeaconBlockAttestationsList:
      type: array
      items:
        $ref: '#/components/schemas/BeaconBlockAttestationItem'
    Error:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
      required:
        - code
        - message
    BeaconBlockAttestationItem:
      type: object
      properties:
        aggregation_bits:
          type: string
        data:
          $ref: '#/components/schemas/AttestationData'
        signature:
          type: string
      required:
        - aggregation_bits
        - data
        - signature
    AttestationData:
      type: object
      properties:
        slot:
          type: integer
          format: int64
        index:
          type: integer
          format: int64
        beacon_block_root:
          type: string
        source:
          $ref: '#/components/schemas/Checkpoint'
        target:
          $ref: '#/components/schemas/Checkpoint'
      required:
        - slot
        - index
        - beacon_block_root
        - source
        - target
    Checkpoint:
      type: object
      properties:
        epoch:
          type: integer
          format: int64
        root:
          type: string
      required:
        - epoch
        - root

````