> ## 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.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/getbeaconblockrootbyblockid",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Block root by block_id

The `/eth/v1/beacon/blocks/{block_id}/root` method is a specific API endpoint in the Ethereum Beacon Chain that provides the root of a given beacon block. The block root is a cryptographic hash that uniquely identifies each block in the Beacon Chain. This endpoint is essential for developers and network participants who need to reference or verify a specific block in the Beacon Chain, as the block root is used extensively in various blockchain operations and data structures.

<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 root is being requested. The block identifier can be a slot number, a block root, or a special value like 'genesis' or 'head'.

## Response

* `object` — block root information.
  * `root` — the root of the specified beacon block. This is a 32-byte value (represented as a hexadecimal string) that uniquely identifies the block within the Beacon Chain.
  * `block_id` — the identifier of the block for which this root belongs. This confirms the specific block to which the provided root corresponds.

The `/eth/v1/beacon/blocks/{block_id}/root` method is an invaluable tool for accessing fundamental and unique identifiers of beacon blocks within the Ethereum network. It allows clients and developers to accurately pinpoint and reference specific blocks, facilitating various blockchain operations such as validation, attestation, and auditing processes.


## OpenAPI

````yaml /openapi/ethereum_beacon_chain_api/state/getBeaconBlockRootByBlockId.json GET /0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/blocks/{block_id}/root
openapi: 3.0.0
info:
  title: Ethereum Beacon Block Root API
  version: 1.0.0
servers:
  - url: https://beacon-nd-422-757-666.p2pify.com
security: []
paths:
  /0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/blocks/{block_id}/root:
    get:
      summary: Get the root of the beacon block by block_id
      operationId: getBeaconBlockRootByBlockId
      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 root successfully retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeaconBlockRootItem'
        '404':
          description: Beacon block root 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:
    BeaconBlockRootItem:
      type: object
      properties:
        root:
          type: string
      required:
        - root
    Error:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
      required:
        - code
        - message

````