/eth/v1/beacon/headers/{block_id}
Get block headers
Retrieves block header for given block id.
Path parameters
block_idstringRequiredExample:
Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", <slot>, <hex encoded blockRoot with 0x prefix>.
headResponses
200
Success
application/json
400
The block ID supplied could not be parsed
application/json
404
Block not found
application/json
500
Beacon node internal error.
application/json
get
/eth/v1/beacon/headers/{block_id}curl -X GET \
"https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/headers/head" \
-H "Content-Type: application/json"curl -X GET \
"https://sepolia.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/headers/head" \
-H "Content-Type: application/json"Last updated
Was this helpful?