/eth/v1/beacon/headers/{block_id}
Get block headers
Last updated
Was this helpful?
Get block headers
Last updated
Was this helpful?
curl -X GET \
"https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/headers/head" \
-H "Content-Type: application/json"
Retrieves block header for given block id.
Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", <slot>, <hex encoded blockRoot with 0x prefix>.
head
GET /v1/<YOUR_API_KEY_HERE>//eth/v1/beacon/headers/{block_id} HTTP/1.1
Host: mainnet.ethereum.validationcloud.io
Accept: */*
{
"execution_optimistic": null,
"data": {
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"canonical": true,
"header": {
"message": {
"slot": null,
"proposer_index": null,
"parent_root": null,
"state_root": null,
"body_root": null
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}
}