Skip to main content

submitblock

Submits the given block, i.e., adds it to the local blockchain and broadcasts it to the network

Request

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

Request parameters

  • blocks_blob - array of a single string; block's blob.

Response

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

Response information

  • status - describes if the rpc call was successful