Skip to main content

getBlockByRoot

Overview

The 'getBlockByRoot' method

Request

{
"method": "getBlockByRoot",
"params": ["block_root"],
"id": 1,
"jsonrpc": "2.0"
}

Request Parameters

  • 'block_root' (string): The root of the Ethereum block you wish to retrieve.

Response

{
"jsonrpc": "2.0",
"id": 1,
"result": {
"block_root": "value",
"block_details": "..."
// other block details
}
}