{"id":603,"date":"2023-07-15T12:57:35","date_gmt":"2023-07-15T04:57:35","guid":{"rendered":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/10-getlocalblock-to-obtain-complete-data-of-sub-chain-blocks\/"},"modified":"2023-07-15T13:47:38","modified_gmt":"2023-07-15T05:47:38","slug":"10-getlocalblock-to-obtain-complete-data-of-sub-chain-blocks","status":"publish","type":"docs","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/10-getlocalblock-to-obtain-complete-data-of-sub-chain-blocks\/","title":{"rendered":"10. GetLocalBlock to obtain complete data of local chain blocks"},"content":{"rendered":"\n<p>*Parameter: hid, super block number<\/p>\n\n\n\n<p>                    id, sub block number<\/p>\n\n\n\n<p>                    chain_ num, sub chain number<\/p>\n\n\n\n<p>*Example: http:\/\/127.0.0.1:8080\/GetLocalBlock?hid=10&amp;id=1&amp;chain_num=1<\/p>\n\n\n\n<p>*Return example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"app_type\":&#91;0],\n  \"auth\":\"\",\n  \"block_size\":176,\n  \"chain_num\":1,\n  \"ctime\":1561701760,\n  \"hash\":\"5f4282775ebfaac7b07fbc060a4d4f25d83615f8d3ecc3847ccbbe891d7398d1\",\n  \"hash_prev\":\"0000000000000000000000000000000000000000000000000000000000000000\",\n  \"hhash\":\"b57e9bf37663e5a8c2c88bf48090b96774384e5c0a206efe3aecfb35765789b1\",\n  \"hid\":10,\n  \"id\":1,\n  \"nonce\":0,\t\t\/\/Replace the difficulty field\n  \"payload\":\"192.168.0.65-8\",\n  \"payload_size\":14,\n  \"root_block_body_hash\":\"474ecf5b105d10d9068d3f592742f3ee1bc58ecf36aa45f31926de1b865128eb\",\n  \"script\":\"\",\n  \"script_hash\":\"0000000000000000000000000000000000000000000000000000000000000000\",\n  \"version\":\"1.0.0\"\n}<\/code><\/pre>\n","protected":false},"featured_media":0,"parent":578,"menu_order":9,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-603","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":2,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/603\/revisions"}],"predecessor-version":[{"id":649,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/603\/revisions\/649"}],"up":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/578"}],"next":[{"title":"11. GetLocalChain Gets the specified local chain data of the hyper block","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/11-getlocalchain-gets-the-specified-sub-chain-data-of-the-super-block\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/606"}],"prev":[{"title":"9. GetLocalBlockBody to obtain local chain block body data","link":"https:\/\/www.paralism.com\/info\/docs\/paralism-node-restapi\/9-getlocalblockbody-to-obtain-sub-chain-block-body-data\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/600"}],"wp:attachment":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/doc_tag?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}