Getblockheader

getblockheader

post

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.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 1.0
idstringRequired
methodstring · enumRequiredPossible values:
Responses
chevron-right
200

Block header information retrieved successfully

application/json
resultone ofOptional
stringOptional

Hex-encoded block header (if verbose = false)

or
errorobject · nullableOptional
idstringOptional

ID of the request

post
/

Last updated