getblockheader
This RPC Method returns the header of the block given it's hash.
post
JSON RPC - getblockheader
Authorizations
Body
methodstring · enumRequiredPossible values:
Responses
200
Default Response
application/json
post
POST /v2/rpc/bitcoin/getblockheader HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"method": "getblockheader",
"params": []
}
200
Default Response
{
"result": null,
"error": null,
"id": null
}
Last updated