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

Get block root

Get block root

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

Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader

Path parameters
block_idstringRequired

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

Example: head
Responses
chevron-right
200

Success

application/json
execution_optimisticall ofOptional
booleanOptional
and
anyOptionalExample: false
and
anyOptional

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.

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

curl -X GET \
    "https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/blocks/head/root" \
    -H "Content-Type: application/json"

Last updated

Was this helpful?