Skip to main content
POST
https://api.uniblock.dev
/
uni
/
v1
/
json-rpc
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "abci_query",
    "params": [
      "/a/b/c",
      "IHAVENOIDEA",
      1,
      false
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "response": {
      "log": "exists",
      "height": "0",
      "proof": "010114FED0DAD959F36091AD761C922ABA3CBF1D8349990101020103011406AA2262E2F448242DF2C2607C3CDC705313EE3B0001149D16177BC71E44...",
      "value": "61626364",
      "key": "61626364",
      "index": "-1",
      "code": "0"
    }
  }
}

Parameters

chainId
string
default:"137"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"abci_query"
required
JSON-RPC method name.
params
object
required
Query parameters for method abci_query in the order: [path, data, height, prove]Positional parameters for abci_query:
  • params[0]: Path to the data (e.g., “/a/b/c”)
  • params[1]: Data content to query
  • params[2]: Block height. 0 means latest.
  • params[3]: Whether to include proofs of transaction inclusion.

Returns

result
object
Application query response.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "abci_query",
    "params": [
      "/a/b/c",
      "IHAVENOIDEA",
      1,
      false
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "response": {
      "log": "exists",
      "height": "0",
      "proof": "010114FED0DAD959F36091AD761C922ABA3CBF1D8349990101020103011406AA2262E2F448242DF2C2607C3CDC705313EE3B0001149D16177BC71E44...",
      "value": "61626364",
      "key": "61626364",
      "index": "-1",
      "code": "0"
    }
  }
}