{ "opencollection": "1.0.0", "info": { "name": "HTTP API Console ABCI Info API" }, "items": [ { "info": { "name": "Info", "type": "folder" }, "items": [ { "info": { "name": "Node heartbeat", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/health" }, "docs": "Get node health. Returns empty result (200 OK) on success, no response - in case of an error.\n" }, { "info": { "name": "Node Status", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/status" }, "docs": "Get Tendermint status including node info, pubkey, latest block hash, app hash, block height, current max peer height, and time.\n" }, { "info": { "name": "Lag Status", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/lag_status" }, "docs": "Get Tendermint lag status including latest height, current max peer height, and lag height.\n" }, { "info": { "name": "Network information", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/net_info" }, "docs": "Get network info.\n" }, { "info": { "name": "Get block headers (max: 20) for minHeight <= height <= maxHeight.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/blockchain", "params": [ { "name": "minHeight", "value": "", "type": "query", "description": "Minimum block height to return" }, { "name": "maxHeight", "value": "", "type": "query", "description": "Maximum block height to return" } ] }, "docs": "Get block headers for minHeight <= height maxHeight.\n\nIf maxHeight does not yet exist, blocks up to the current height will\nbe returned. If minHeight does not exist (due to pruning), earliest\nexisting height will be used.\n\nAt most 20 items will be returned. Block headers are returned in\ndescending order (highest first).\n" }, { "info": { "name": "Get the header at a specified height", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/header", "params": [ { "name": "height", "value": "", "type": "query", "description": "height to return. If no height is provided, it will fetch the latest height." } ] }, "docs": "Retrieve the block header corresponding to a specified height.\n" }, { "info": { "name": "Get header by hash", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/header_by_hash", "params": [ { "name": "hash", "value": "", "type": "query", "description": "header hash" } ] }, "docs": "Retrieve the block header corresponding to a block hash.\n" }, { "info": { "name": "Get block at a specified height", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/block", "params": [ { "name": "height", "value": "", "type": "query", "description": "height to return. If no height is provided, it will fetch the latest block." } ] }, "docs": "Get Block.\n" }, { "info": { "name": "Get block by hash", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/block_by_hash", "params": [ { "name": "hash", "value": "", "type": "query", "description": "block hash" } ] }, "docs": "Get Block By Hash.\n" }, { "info": { "name": "Get block results at a specified height", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/block_results", "params": [ { "name": "height", "value": "", "type": "query", "description": "height to return. If no height is provided, it will fetch information regarding the latest block." } ] }, "docs": "Get block_results.\n" }, { "info": { "name": "Get commit results at a specified height", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/commit", "params": [ { "name": "height", "value": "", "type": "query", "description": "height to return. If no height is provided, it will fetch commit information regarding the latest block." } ] }, "docs": "Get Commit.\n" }, { "info": { "name": "Get validator set at a specified height", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/validators", "params": [ { "name": "height", "value": "", "type": "query", "description": "height to return. If no height is provided, it will fetch validator set which corresponds to the latest block." }, { "name": "page", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of entries per page (max: 100)" } ] }, "docs": "Get Validators. Validators are sorted first by voting power (descending), then by address (ascending).\n" }, { "info": { "name": "Get Genesis", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/genesis" }, "docs": "Get the genesis document.\n" }, { "info": { "name": "Get Genesis in paginated chunks", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/genesis_chunked", "params": [ { "name": "chunkID", "value": "", "type": "query", "description": "Sequence number of the chunk to download." } ] }, "docs": "Get genesis document in a paginated/chunked format to make it\neasier to iterate through larger genesis structures.\n" }, { "info": { "name": "Get consensus state", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dump_consensus_state" }, "docs": "Get consensus state.\n\nNot safe to call from inside the ABCI application during a block execution.\n" }, { "info": { "name": "Get consensus state", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/consensus_state" }, "docs": "Get consensus state.\n\nNot safe to call from inside the ABCI application during a block execution.\n" }, { "info": { "name": "Get consensus parameters", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/consensus_params", "params": [ { "name": "height", "value": "", "type": "query", "description": "height to return. If no height is provided, it will fetch commit information regarding the latest block." } ] }, "docs": "Get consensus parameters.\n" }, { "info": { "name": "Get the list of unconfirmed transactions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/unconfirmed_txs", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of entries per page (max: 100)" } ] }, "docs": "Get list of unconfirmed transactions\n" }, { "info": { "name": "Get data about unconfirmed transactions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/num_unconfirmed_txs" }, "docs": "Get data about unconfirmed transactions\n" }, { "info": { "name": "Search for transactions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/tx_search", "params": [ { "name": "query", "value": "", "type": "query", "description": "Query" }, { "name": "prove", "value": "", "type": "query", "description": "Include proofs of the transactions inclusion in the block" }, { "name": "page", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of entries per page (max: 100)" }, { "name": "order_by", "value": "", "type": "query", "description": "Order in which transactions are sorted (\"asc\" or \"desc\"), by height & index. If empty, default sorting will be still applied." } ] }, "docs": "Search for transactions w/ their results.\n\nSee /subscribe for the query syntax.\n" }, { "info": { "name": "Search for blocks by BeginBlock and EndBlock events", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/block_search", "params": [ { "name": "query", "value": "", "type": "query", "description": "Query" }, { "name": "page", "value": "", "type": "query", "description": "Page number (1-based)" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of entries per page (max: 100)" }, { "name": "order_by", "value": "", "type": "query", "description": "Order in which blocks are sorted (\"asc\" or \"desc\"), by height. If empty, default sorting will be still applied." } ] }, "docs": "Search for blocks by BeginBlock and EndBlock events.\n\nSee /subscribe for the query syntax.\n" }, { "info": { "name": "Get transactions by hash", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/tx", "params": [ { "name": "hash", "value": "", "type": "query", "description": "transaction Hash to retrive" }, { "name": "prove", "value": "", "type": "query", "description": "Include proofs of the transactions inclusion in the block" } ] }, "docs": "Get a transaction\n" } ] } ], "bundled": true }