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

Get block root

Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader.

Parameters

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

Result

Returns hashTreeRoot of BeaconBlock/BeaconBlockHeader

Example

Request

curl <your-endpoint>/eth/v1/beacon/blocks/143456/root

Return

{
    "data": {
        "root": "0x4cd581f0d772a81debab578a47a2133ef1d154f810ecdaaec457ffb468e86bdd"
    },
    "execution_optimistic": false
}