diff --git a/docs/en-us/reference/rpc/latest-version/api/submitblock.md b/docs/en-us/reference/rpc/latest-version/api/submitblock.md index d893d54c5..fa116129f 100644 --- a/docs/en-us/reference/rpc/latest-version/api/submitblock.md +++ b/docs/en-us/reference/rpc/latest-version/api/submitblock.md @@ -27,7 +27,7 @@ Request body: { "jsonrpc": "2.0", "method": "submitblock", - "params": ["000000000000000000000000000000000000000000000000000000000000000000000000845c34e7c1aed302b1718e914da0c42bf47c476ac4d89671f278d8ab6d27aa3d65fc8857000000001dac2b7c00000000be48d3a3f5d10013ab9ffee489706078714f1ea2010001510400001dac2b7c00000000400000455b7b226c616e67223a227a682d434e222c226e616d65223a22e5b08fe89a81e882a1227d2c7b226c616e67223a22656e222c226e616d65223a22416e745368617265227d5d0000c16ff28623000000da1745e9b549bd0bfa1a569971c77eba30cd5a4b00000000400001445b7b226c616e67223a227a682d434e222c226e616d65223a22e5b08fe89a81e5b881227d2c7b226c616e67223a22656e222c226e616d65223a22416e74436f696e227d5d0000c16ff286230008009f7fd096d37ed2c0e3f7f0cfc924beef4ffceb680000000001000000019b7cffdaa674beae0f930ebe6085af9093e5fe56b34a5c220ccdcf6efc336fc50000c16ff2862300be48d3a3f5d10013ab9ffee489706078714f1ea201000151"], + "params": ["0000000020101cfb80de52766575a91310fddd7bf4fbd4f904e5574373649092cffffcf154badd3ae13d8aa76e75ebf9a1b2fcff874e85798a940da9e21f9533625b5a135bf545ce74010000180000000b2222301e1d5984be6d5a928e946d269603505801420c40ffe24193611172117b7cb49915afe91ec7bf314c6f855f13f82f84329238e8e1649c1aea471873fb374f548a70bb04d0cb127ddb1d4765f67d3b29a2a10e42822b110c2102470d8f746f040f8b9355be5e6fd1dc280f0c6ba9270420290337b07a37f706bd110b41138defaf010088e65a74589edfbf"], "id": 1 } ``` @@ -36,9 +36,11 @@ Response body in successful cases: ```json { - "jsonrpc": "2.0", - "id": 1, - "result": true + "jsonrpc": "2.0", + "id": 1, + "result": { + "hash": "0xbe153a2ef9e9160906f7054ed8f676aa223a826c4ae662ce0fb3f09d38b093c1" + } } ``` diff --git a/docs/zh-cn/reference/rpc/latest-version/api/submitblock.md b/docs/zh-cn/reference/rpc/latest-version/api/submitblock.md index 137cddfb1..6c0adc9df 100644 --- a/docs/zh-cn/reference/rpc/latest-version/api/submitblock.md +++ b/docs/zh-cn/reference/rpc/latest-version/api/submitblock.md @@ -18,7 +18,7 @@ Hex: 序列化区块的十六进制字符串。 { "jsonrpc": "2.0", "method": "submitblock", - "params": ["000000000000000000000000000000000000000000000000000000000000000000000000845c34e7c1aed302b1718e914da0c42bf47c476ac4d89671f278d8ab6d27aa3d65fc8857000000001dac2b7c00000000be48d3a3f5d10013ab9ffee489706078714f1ea2010001510400001dac2b7c00000000400000455b7b226c616e67223a227a682d434e222c226e616d65223a22e5b08fe89a81e882a1227d2c7b226c616e67223a22656e222c226e616d65223a22416e745368617265227d5d0000c16ff28623000000da1745e9b549bd0bfa1a569971c77eba30cd5a4b00000000400001445b7b226c616e67223a227a682d434e222c226e616d65223a22e5b08fe89a81e5b881227d2c7b226c616e67223a22656e222c226e616d65223a22416e74436f696e227d5d0000c16ff286230008009f7fd096d37ed2c0e3f7f0cfc924beef4ffceb680000000001000000019b7cffdaa674beae0f930ebe6085af9093e5fe56b34a5c220ccdcf6efc336fc50000c16ff2862300be48d3a3f5d10013ab9ffee489706078714f1ea201000151"], + "params": ["0000000020101cfb80de52766575a91310fddd7bf4fbd4f904e5574373649092cffffcf154badd3ae13d8aa76e75ebf9a1b2fcff874e85798a940da9e21f9533625b5a135bf545ce74010000180000000b2222301e1d5984be6d5a928e946d269603505801420c40ffe24193611172117b7cb49915afe91ec7bf314c6f855f13f82f84329238e8e1649c1aea471873fb374f548a70bb04d0cb127ddb1d4765f67d3b29a2a10e42822b110c2102470d8f746f040f8b9355be5e6fd1dc280f0c6ba9270420290337b07a37f706bd110b41138defaf010088e65a74589edfbf"], "id": 1 } ``` @@ -27,9 +27,11 @@ Hex: 序列化区块的十六进制字符串。 ```json { - "jsonrpc": "2.0", - "id": 1, - "result": true + "jsonrpc": "2.0", + "id": 1, + "result": { + "hash": "0xbe153a2ef9e9160906f7054ed8f676aa223a826c4ae662ce0fb3f09d38b093c1" + } } ```