ABCIQuery defines a query handler that supports ABCI queries directly to the
application, bypassing Tendermint completely. The ABCI query must contain
a valid and supported path, including app, custom, p2p, and store.
get
Since: cosmos-sdk 0.46
Query parameters
dataanyOptional
pathanyOptional
heightanyOptional
proveanyOptional
Responses
200
A successful response.
application/json
ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
Note: This type is a duplicate of the ResponseQuery proto type defined in
Tendermint.
codeinteger · int64Optional
logstringOptional
infostringOptional
indexstring · int64Optional
keystring · byteOptional
valuestring · byteOptional
heightstring · int64Optional
codespacestringOptional
default
An unexpected error response.
application/json
get
/cosmos/base/tendermint/v1beta1/abci_query
GetLatestBlock returns the latest block.
get
Responses
200
A successful response.
application/json
GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.
default
An unexpected error response.
application/json
get
/cosmos/base/tendermint/v1beta1/blocks/latest
GetBlockByHeight queries block for given height.
get
Path parameters
heightanyRequired
Responses
200
A successful response.
application/json
GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.
default
An unexpected error response.
application/json
get
/cosmos/base/tendermint/v1beta1/blocks/{height}
GetNodeInfo queries the current node info.
get
Responses
200
A successful response.
application/json
GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.
default
An unexpected error response.
application/json
get
/cosmos/base/tendermint/v1beta1/node_info
GetSyncing queries node syncing.
get
Responses
200
A successful response.
application/json
GetSyncingResponse is the response type for the Query/GetSyncing RPC method.
key is a value returned in PageResponse.next_key to begin
querying the next page most efficiently. Only one of offset or key
should be set.
pagination.offsetanyOptional
offset is a numeric offset that can be used when key is unavailable.
It is less efficient than using key. Only one of offset or key should
be set.
pagination.limitanyOptional
limit is the total number of results to be returned in the result page.
If left empty it will default to a value to be set by each app.
pagination.count_totalanyOptional
count_total is set to true to indicate that the result set should include
a count of the total number of items available for pagination in UIs.
count_total is only respected when offset is used. It is ignored when key
is set.
pagination.reverseanyOptional
reverse is set to true if results are to be returned in the descending order.
Since: cosmos-sdk 0.43
Responses
200
A successful response.
application/json
GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
GetValidatorSetByHeight queries validator-set at a given height.
get
Path parameters
heightanyRequired
Query parameters
pagination.keyanyOptional
key is a value returned in PageResponse.next_key to begin
querying the next page most efficiently. Only one of offset or key
should be set.
pagination.offsetanyOptional
offset is a numeric offset that can be used when key is unavailable.
It is less efficient than using key. Only one of offset or key should
be set.
pagination.limitanyOptional
limit is the total number of results to be returned in the result page.
If left empty it will default to a value to be set by each app.
pagination.count_totalanyOptional
count_total is set to true to indicate that the result set should include
a count of the total number of items available for pagination in UIs.
count_total is only respected when offset is used. It is ignored when key
is set.
pagination.reverseanyOptional
reverse is set to true if results are to be returned in the descending order.
Since: cosmos-sdk 0.43
Responses
200
A successful response.
application/json
GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.