{ "opencollection": "1.0.0", "info": { "name": "AKASH - gRPC Gateway docs Addresses Service API", "version": "1.0.0" }, "items": [ { "info": { "name": "Service", "type": "folder" }, "items": [ { "info": { "name": "GetLatestBlock returns the latest block.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/base/tendermint/v1beta1/blocks/latest" }, "docs": "GetLatestBlock returns the latest block." }, { "info": { "name": "GetBlockByHeight queries block for given height.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/base/tendermint/v1beta1/blocks/:height", "params": [ { "name": "height", "value": "", "type": "path" } ] }, "docs": "GetBlockByHeight queries block for given height." }, { "info": { "name": "GetNodeInfo queries the current node info.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/base/tendermint/v1beta1/node_info" }, "docs": "GetNodeInfo queries the current node info." }, { "info": { "name": "GetSyncing queries node syncing.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/base/tendermint/v1beta1/syncing" }, "docs": "GetSyncing queries node syncing." }, { "info": { "name": "GetLatestValidatorSet queries latest validator-set.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/base/tendermint/v1beta1/validatorsets/latest", "params": [ { "name": "pagination.key", "value": "", "type": "query", "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." }, { "name": "pagination.offset", "value": "", "type": "query", "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." }, { "name": "pagination.limit", "value": "", "type": "query", "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." }, { "name": "pagination.count_total", "value": "", "type": "query", "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "GetLatestValidatorSet queries latest validator-set." }, { "info": { "name": "GetValidatorSetByHeight queries validator-set at a given height.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/base/tendermint/v1beta1/validatorsets/:height", "params": [ { "name": "height", "value": "", "type": "path" }, { "name": "pagination.key", "value": "", "type": "query", "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." }, { "name": "pagination.offset", "value": "", "type": "query", "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." }, { "name": "pagination.limit", "value": "", "type": "query", "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." }, { "name": "pagination.count_total", "value": "", "type": "query", "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." } ] }, "docs": "GetValidatorSetByHeight queries validator-set at a given height." }, { "info": { "name": "Simulate simulates executing a transaction for estimating gas usage.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/cosmos/tx/v1beta1/simulate" }, "docs": "Simulate simulates executing a transaction for estimating gas usage." }, { "info": { "name": "GetTxsEvent fetches txs by event.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/tx/v1beta1/txs", "params": [ { "name": "events", "value": "", "type": "query", "description": "events is the list of transaction event type." }, { "name": "pagination.key", "value": "", "type": "query", "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." }, { "name": "pagination.offset", "value": "", "type": "query", "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." }, { "name": "pagination.limit", "value": "", "type": "query", "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." }, { "name": "pagination.count_total", "value": "", "type": "query", "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." }, { "name": "pagination.reverse", "value": "", "type": "query", "description": "reverse is set to true if results are to be returned in the descending order." }, { "name": "order_by", "value": "", "type": "query", "description": " - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order" } ] }, "docs": "GetTxsEvent fetches txs by event." }, { "info": { "name": "BroadcastTx broadcast transaction.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/cosmos/tx/v1beta1/txs" }, "docs": "BroadcastTx broadcast transaction." }, { "info": { "name": "GetTx fetches a tx by hash.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/cosmos/tx/v1beta1/txs/:hash", "params": [ { "name": "hash", "value": "", "type": "path", "description": "hash is the tx hash to query, encoded as a hex string." } ] }, "docs": "GetTx fetches a tx by hash." } ] } ], "bundled": true }