bitcoind.app
CommandsGuidesContact ↗
Home/Mining/submitheader
Mining

submitheader

Decode the given hexdata as a header and submit it as a candidate chain tip if valid.

Parameters

hexdatastringREQUIRED
The hex-encoded block header

Returns

nullnull on success

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"submitheader","params":["hexdata"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

null
← Previous
submitblock
Next →
addnode

More Mining Commands

getblocktemplategetmininginfogetnetworkhashpsprioritisetransactionsubmitblock

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗