Skip to main content
POST
eth_getHeaderByHash
Robinhood Chain API method that returns the block header by block hash.

Parameters

  • data — the hash of the block

Response

  • object — the block header object

eth_getHeaderByHash code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getHeaderByHash
params
string[]

Hash of the block.

Response

200 - application/json

Returns the block header by block hash.

jsonrpc
string
id
integer
result
object | null
Last modified on July 18, 2026