docs/docs/build/rpc-api/daemon-rpc-api/submitblock2.md
zano build machine 92bf506bea Auto generated doc
2025-07-10 05:46:52 +03:00

787 B

Adds new block to the blockchain.

URL: http:://127.0.0.1:11211/json_rpc

Request:

{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "submitblock2",
  "params": {
    "b": "030000000000000000ae73338b7926258a2b5ee340700",
    "explicit_txs": [{
      "blob": "36323538613262356565376139633230"
    },{
      "blob": "38653066306132636565333430373030"
    }]
  }
}

Request description:

    "b": Hex-encoded serialized block.
    "explicit_txs": List of hex-encoded transactions to be explicitly included in the block.

Response:

{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "status": "OK"
  }
}

Response description:

    "status": Status of the call.

Auto-doc built with: 2.1.8.414[d56bf75]