/eth/v1/beacon/blocks/{block_id}/root

Get block root.

Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader

Example Request and Result for /v1/beacon/blocks/{block_id}/root

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/blocks/{block_id}/rootendpoint. Additionally, we present the resulting response containing information about block root.

Parameters

The example in this section uses a non-existing project id.

Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.

Don't have a project id? Here's a straightforward guide on how to obtain one!

Get block root.

GET https://eth-holesky-beacon.blastapi.io/<project-id>/v1/beacon/blocks/<block_id>/root

Path Parameters

{
  "data": {
    "root": "0x1684630d2b7331611a21f8c3afc432701d7772805ed6d895bfbf8e6d3678253e"
  },
  "execution_optimistic": false,
  "finalized": true
}

Curl Request example

curl -X 'GET' \
  'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/blocks/12983/root' \
  -H 'accept: application/json'

Last updated