Beacon

Get block root

Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader

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

Request

  • Base URL
    eth2-beacon-mainnet.nodereal.io/v1/api_key (relative, and the document’s source URL is not known)
  • URL
    eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/beacon/blocks/{block_id}/root
  • Auth
    none declared

Path parameters

block_idstring required

Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", <slot>, <hex encoded blockRoot with 0x prefix>.

Response

Success

execution_optimisticboolean

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

Example response

{
  "data": {
    "root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.