{ "opencollection": "1.0.0", "info": { "name": "Kadena Chainweb Node block blockhash API", "version": "0.0" }, "items": [ { "info": { "name": "blockhash", "type": "folder" }, "items": [ { "info": { "name": "Get Block Hashes", "type": "http" }, "http": { "method": "GET", "url": "https://api.chainweb.com/chainweb/{apiVersion}/mainnet01/chain/:chain/hash", "params": [ { "name": "chain", "value": "", "type": "path", "description": "the id of the chain to which the request is sent" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of records that may be returned. The actual number may be\nlower.\n" }, { "name": "next", "value": "", "type": "query", "description": "The cursor for the next page. This value can be found as value of the\n`next` property of the previous page.\n" }, { "name": "minheight", "value": "500000", "type": "query", "description": "Minimum block height of the returned headers" }, { "name": "maxheight", "value": "500000", "type": "query", "description": "Maximum block height of the returned headers" } ] }, "docs": "Get Block Hashes" }, { "info": { "name": "Get Block Hash Branches", "type": "http" }, "http": { "method": "POST", "url": "https://api.chainweb.com/chainweb/{apiVersion}/mainnet01/chain/:chain/hash/branch", "params": [ { "name": "chain", "value": "", "type": "path", "description": "the id of the chain to which the request is sent" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of records that may be returned. The actual number may be\nlower.\n" }, { "name": "next", "value": "", "type": "query", "description": "The cursor for the next page. This value can be found as value of the\n`next` property of the previous page.\n" }, { "name": "minheight", "value": "500000", "type": "query", "description": "Minimum block height of the returned headers" }, { "name": "maxheight", "value": "500000", "type": "query", "description": "Maximum block height of the returned headers" } ], "body": { "type": "json", "data": "{}" } }, "docs": "A page of block hashes from branches of the block chain in\n**descending** order.\n\nOnly blocks are returned that are ancestors of the some block in the\nset of upper bounds and are not ancestors of any block in the set of\nlower bounds.\n" } ] } ], "bundled": true }