Blocks
getHeaderByHash
Returns the header for a given block hash.
POST
/
Body
application/json
jsonrpc
enum<string>
requiredAvailable options:
2.0
method
enum<string>
requiredThe name of the method to be invoked.
Available options:
quai_getHeaderByHash
params
string[]
requiredThe block hash for which the header should be retrieved.
id
integer
requiredA unique identifier for the request.
Response
200 - application/json
jsonrpc
string
result
object
The block header data for the given hash.
id
integer
Was this page helpful?