Join AWS, Dust Labs & OrangeDAO at QuickPitch. Win $80k — Apply Today.


eth-v1-beacon-blocks-{block_id}-root REST API Endpoint


  1. 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}


  1. 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
  2. data - The object with the following fields:

    root - string - The hashTreeRoot of BeaconBlock/BeaconBlockHeader

Code Examples:

import requests

url = ""

headers = {
  'accept': 'application/json'

response = requests.request("GET", url, headers=headers, data=payload)

Ready to get started? Create a free account