Tendermint

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
chevron-right
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
get
/cosmos/base/tendermint/v1beta1/abci_query

GetLatestBlock returns the latest block.

get
Responses
chevron-right
200

A successful response.

application/json

GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.

get
/cosmos/base/tendermint/v1beta1/blocks/latest

GetBlockByHeight queries block for given height.

get
Path parameters
heightanyRequired
Responses
chevron-right
200

A successful response.

application/json

GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.

get
/cosmos/base/tendermint/v1beta1/blocks/{height}

GetNodeInfo queries the current node info.

get
Responses
chevron-right
200

A successful response.

application/json

GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.

get
/cosmos/base/tendermint/v1beta1/node_info

GetSyncing queries node syncing.

get
Responses
chevron-right
200

A successful response.

application/json

GetSyncingResponse is the response type for the Query/GetSyncing RPC method.

syncingbooleanOptional
get
/cosmos/base/tendermint/v1beta1/syncing

GetLatestValidatorSet queries latest validator-set.

get
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
chevron-right
200

A successful response.

application/json

GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.

block_heightstring · int64Optional
get
/cosmos/base/tendermint/v1beta1/validatorsets/latest

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
chevron-right
200

A successful response.

application/json

GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.

block_heightstring · int64Optional
get
/cosmos/base/tendermint/v1beta1/validatorsets/{height}

Config queries for the operator configuration.

get
Responses
chevron-right
200

A successful response.

application/json

ConfigResponse defines the response structure for the Config gRPC query.

minimum_gas_pricestringOptional
pruning_keep_recentstringOptional
pruning_intervalstringOptional
halt_heightstring · uint64Optional
get
/cosmos/base/node/v1beta1/config

Status queries for the node status.

get
Responses
chevron-right
200

A successful response.

application/json

StateResponse defines the response structure for the status of a node.

earliest_store_heightstring · uint64Optional
heightstring · uint64Optional
timestampstring · date-timeOptional
app_hashstring · byteOptional
validator_hashstring · byteOptional
get
/cosmos/base/node/v1beta1/status

Last updated