docs/docs/build/rpc-api/daemon-rpc-api/submitblock.md
zano build machine ccf9753dbd Auto generated doc
2025-05-05 21:01:10 +03:00

513 B

Adds new block to the blockchain. Request should contain one string with hex-encoded block blob.

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

Request:

{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "submitblock",
  "params": [""]
}

Request description:


Response:

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

Response description:

    "status": Status of the call.

Auto-doc built with: 2.1.6.402[ef0a47c]