v1

latestOpenAPI 3.0.3Apache-2.02026-07-173866168.3 KB

post/getMultipleCompressedAccountProofsV2

Request body

id'test-account' required

An ID to identify the request.

jsonrpc'2.0' required

The version of the JSON-RPC protocol.

method'getMultipleCompressedAccountProofsV2' required

The name of the method to invoke.

paramsHash[] required

Example request

{
  "params": [
    "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
  ]
}

Response

id'test-account' required

An ID to identify the response.

jsonrpc'2.0' required

The version of the JSON-RPC protocol.

Example response

{
  "result": {
    "context": {
      "slot": 100
    },
    "value": [
      {
        "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
        "proof": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
        "treeContext": {
          "cpiContext": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
          "queue": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
          "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
        }
      }
    ]
  }
}