eth_getHeaderByHash
Returns the block header identified by the given block hash. Structurally identical to eth_getBlockByHash but omits body-level fields (size, transactions, uncles, withdrawals), making it cheaper to fetch when only consensus fields are needed (e.g., chain-tip anchoring for light clients or stateless validators).
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^0x[0-9a-f]{64}$"requiredThe 32-byte hash of the block to retrieve.
Responses
200
The block header object, or null if no block with the given hash is known.
Was this page helpful?