Abci query

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.

Since: cosmos-sdk 0.46

GET//rest.origin.uptick.network/cosmos/base/tendermint/v1beta1/abci_query
Query parameters
Response

A successful response.

Body
codeinteger (int64)
logstring
infostring
indexstring (int64)
keystring (byte)
valuestring (byte)
proof_opsobject

ProofOps is Merkle proof defined by the list of ProofOps.

Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.

heightstring (int64)
codespacestring
Request
const response = await fetch('//rest.origin.uptick.network/cosmos/base/tendermint/v1beta1/abci_query', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "log": "text",
  "info": "text",
  "index": "text",
  "key": "Ynl0ZXM=",
  "value": "Ynl0ZXM=",
  "proof_ops": {
    "ops": [
      {
        "type": "text",
        "key": "Ynl0ZXM=",
        "data": "Ynl0ZXM="
      }
    ]
  },
  "height": "text",
  "codespace": "text"
}

Last updated