getblockheader
POST
/{apiKey}
Returns the block header for the specified block hash.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^[a-fA-F0-9]{64}$"requiredThe block hash to retrieve the header for.
booleanoptionaldefaults to
trueWhether to return a JSON object (true) or raw hex-encoded string (false). Default is true.
Responses
200
The block header as an object or hex string depending on verbose.
Was this page helpful?