submitheader

Input(s) 1

This command deciphers the provided hexadecimal block header data and endeavors to submit it as a potential chain tip for validation, provided it meets the necessary criteria. If the header is invalid, an error is thrown.

How is this used?

This command is utilized in the mining process to decode and submit block header data as a candidate for becoming the next chain tip. It serves as a crucial step in the validation and addition of new blocks to the blockchain.

Request

method

submitheader

hexdata

Required

Inputs(1)

one required input remaining...

hexdata (required) - The hex-encoded block header data

Result