eth-v1-beacon-blocks-{block_id}-root RPC Method
Parameters
block_id
string
The state identifier. It can be one of: head (canonical head in node's view), genesis, finalized, justified, slot and blockRoot {hex encoded blockRoot with 0x prefix}
Returns
execution_optimistic
boolean
It's true if the response references an unverified execution payload. The optimistic information may be invalidated at a later time. If the field is not present, assume the false value
data
The object with the following fields:root - - The hashTreeRoot of BeaconBlock/BeaconBlockHeader
root
string
The hashTreeRoot of BeaconBlock/BeaconBlockHeader
Request
1curl -X GET \2"https://docs-demo.xdai.quiknode.pro/eth/v1/beacon/blocks/head/root" \3-H "accept: application/json"4
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free