post/getValidityProofV2

Request

  • Base URL: https://devnet.helius-rpc.com?api-key=<api_key>
  • URL: https://devnet.helius-rpc.com?api-key=<api_key>/getValidityProofV2
  • Auth: none declared

Request body

id'test-account' required

An ID to identify the request.

jsonrpc'2.0' required

The version of the JSON-RPC protocol.

method'getValidityProofV2' required

The name of the method to invoke.

Example request

{
  "params": {
    "hashes": [
      "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
    ],
    "newAddressesWithTrees": [
      {
        "address": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
        "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
      }
    ]
  }
}

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": {
      "accounts": [
        {
          "merkleContext": {
            "cpiContext": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
            "nextTreeContext": {
              "cpiContext": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
              "queue": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
              "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
            },
            "queue": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
            "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
          }
        }
      ],
      "addresses": [
        {
          "merkleContext": {
            "cpiContext": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
            "nextTreeContext": {
              "cpiContext": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
              "queue": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
              "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
            },
            "queue": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
            "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
          }
        }
      ]
    }
  }
}

Changes

    • ▲

      the /// response's property type changed from string to array, and format from binary to no format for status

    • ▲

      the /// response's property type changed from string to array, and format from binary to no format for status

    • ▲

      the /// response's property type changed from string to array, and format from binary to no format for status

    • ▲

      removed the required property // from the response with the status

    • ▲

      removed the required property // from the response with the status

    • ▲

      removed the required property // from the response with the status

    • ▲

      removed the required property // from the response with the status

    • ▲

      removed the required property // from the response with the status

    • ○

      the request property default value changed from 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj to 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr

    • ○

      the request property default value changed from 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj to 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr

    • ○

      added the required property // to the response with the status

    • ○

      added the required property // to the response with the status

    • ▲

      the /// response's property type changed from array to string, and format from no format to binary for status

    • ▲

      the /// response's property type changed from array to string, and format from no format to binary for status

    • ▲

      the /// response's property type changed from array to string, and format from no format to binary for status

    • ▲

      removed the required property // from the response with the status

    • ▲

      removed the required property // from the response with the status

    • ○

      the request property default value changed from 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr to 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj

    • ○

      the request property default value changed from 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr to 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj

    • ○

      added the required property // to the response with the status

    • ○

      added the required property // to the response with the status

    • ○

      added the required property // to the response with the status

    • ○

      added the required property // to the response with the status

    • ○

      added the required property // to the response with the status