Skip to main content

chain_getHeader – Mythos JSON-RPC Method

Fetches the header of a block without downloading its extrinsics. Headers include the parent hash, block number, state root, extrinsics root, and digest logs. This lightweight call is ideal for monitoring finality or tracking marketplace batches.

Parameters#

ParameterTypeRequiredDescription
blockHashstringNoHex-encoded block hash. If omitted, returns the latest header.

Request Example#

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