getblockheader
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns information about the block header given a block hash.
You can specify whether to return a JSON object or raw hex-encoded string using the verbose flag.
Body
application/json
jsonrpcstringrequiredidstringrequiredmethodstringgetblockheaderrequiredparamsArray<string | boolean>requiredParameters:
blockhash(string) — The hash of the block.verbose(boolean, optional) — If true, returns a JSON object; if false, returns a hex string. Default is true.
Response
200OK
Block header information retrieved successfully
401Unauthorized
Unauthorized
500Internal Server Error
Internal Server Error