/abci_query

Query the application for some information.

Parameters:

path - string, Path to the data ("/a/b/c")

data- string, Data

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://cosmos.blockpi.network/rpc/v1/<your-api-key>/abci_query?path=%22/app/version%22&data&height=14183822&prove=true

// Result
{
    "jsonrpc": "2.0",
    "id": -1,
    "result": {
        "response": {
            "code": 0,
            "log": "",
            "info": "",
            "index": "0",
            "key": null,
            "value": "djguMC4w",
            "proofOps": null,
            "height": "14183822",
            "codespace": "sdk"
        }
    }
}                   

Last updated