v1

latestOpenAPI 3.0.3Apache-2.02026-07-173866168.3 KB

post/getQueueElements

Request body

id'test-account' required

An ID to identify the request.

jsonrpc'2.0' required

The version of the JSON-RPC protocol.

method'getQueueElements' required

The name of the method to invoke.

Example request

{
  "params": {
    "tree": "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": {
    "addressQueue": {
      "addresses": [
        "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
      ],
      "initialRoot": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
      "leavesHashChains": [
        "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
      ],
      "lowElementNextValues": [
        "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
      ],
      "lowElementValues": [
        "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
      ],
      "nodes": [
        {
          "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        }
      ],
      "subtrees": [
        "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
      ]
    },
    "context": {
      "slot": 100
    },
    "stateQueue": {
      "initialRoot": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
      "inputQueue": {
        "accountHashes": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "leaves": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "leavesHashChains": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "nullifiers": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "txHashes": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ]
      },
      "nodes": [
        {
          "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        }
      ],
      "outputQueue": {
        "accountHashes": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "leaves": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ],
        "leavesHashChains": [
          "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
        ]
      }
    }
  }
}