RPC Browser

Command: submitblock

Help Content for submitblock
submitblock "hexdata"  ( "dummy" "legacy" )

Attempts to submit new block to network.
See https://en.bitcoin.it/wiki/BIP_0022 for full specification.

1. "hexdata"        (string, required) the hex-encoded block data to submit
2. "dummy"          (optional) dummy value, for compatibility with BIP22. This value is ignored.
3. "legacy"         (boolean, optional) indicates if the block is in legacy foramt. default: false.


> bitcoin-cli submitblock "mydata"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;'
Execute Command: submitblock

Atomicswaps (6)

Blockchain (22)

Control (6)

Generating (2)

Mining (5)

Minting (1)

Network (12)

Rawtransactions (8)

Util (6)

Wallet (48)