submitheader
POST
/{apiKey}
Decodes the given hex-encoded block header and submits it as a candidate chain tip if valid. Throws an error if the header is invalid. This can be used to mine on top of a particular block without having the full block data.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^[a-fA-F0-9]{160}$"requiredThe hex-encoded block header to submit.
Responses
200
Returns null if the header was accepted, or a string describing the rejection reason.
Was this page helpful?