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

GEThttps://luna.nownodes.io/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('https://luna.nownodes.io/cosmos/base/tendermint/v1beta1/abci_query', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "code": 0,
  "log": "text",
  "info": "text",
  "index": "text",
  "key": "Ynl0ZXM=",
  "value": "Ynl0ZXM=",
  "proof_ops": {
    "ops": [
      {
        "type": "text",
        "key": "Ynl0ZXM=",
        "data": "Ynl0ZXM="
      }
    ]
  },
  "height": "text",
  "codespace": "text"
}