chain_getHeader
POST
https://astar-mainnet.g.alchemy.com/v2/{apiKey}
Returns the header of the block identified by the given hash. If no hash is provided, returns the header of the best (latest) block.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
stringoptional
The block hash to retrieve the header for. If omitted, returns the header of the current best block.
Responses
200
The block header object containing metadata about the block.
Was this page helpful?