post/getMultipleCompressedAccounts

Request

  • Base URL: https://devnet.helius-rpc.com?api-key=<api_key>
  • URL: https://devnet.helius-rpc.com?api-key=<api_key>/getMultipleCompressedAccounts
  • 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'getMultipleCompressedAccounts' required

The name of the method to invoke.

Example request

{
  "params": {
    "addresses": null,
    "hashes": [
      "11157t3sqMV725NVRLrVQbAu98Jjfk1uCKehJnXXQs",
      "1117mWrzzrZr312ebPDHu8tbfMwFNvCvMbr6WepCNG"
    ]
  }
}

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": {
      "items": [
        {
          "address": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
          "data": {
            "data": "SGVsbG8sIFdvcmxkIQ==",
            "dataHash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
            "discriminator": 100
          },
          "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
          "lamports": 100,
          "leafIndex": 100,
          "owner": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr",
          "seq": 100,
          "slotCreated": 100,
          "tree": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
        }
      ]
    }
  }
}

Changes

    • ○

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

    • ○

      the request property default value changed from {"addresses":null,"hashes":["1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM","1111111ogCyDbaRMvkdsHB3qfdyFYaG1WtRUAfdh"]} to {"addresses":null,"hashes":["11157t3sqMV725NVRLrVQbAu98Jjfk1uCKehJnXXQs","1117mWrzzrZr312ebPDHu8tbfMwFNvCvMbr6WepCNG"]}

    • ○

      the response's property default value changed from 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj to 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr for the status

    • ○

      the response's property default value changed from 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj to 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr for the status

    • ○

      the response's property default value changed from 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj to 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr for the status

    • ○

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

    • ○

      the request property default value changed from {"addresses":null,"hashes":["11157t3sqMV725NVRLrVQbAu98Jjfk1uCKehJnXXQs","1117mWrzzrZr312ebPDHu8tbfMwFNvCvMbr6WepCNG"]} to {"addresses":null,"hashes":["1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM","1111111ogCyDbaRMvkdsHB3qfdyFYaG1WtRUAfdh"]}

    • ○

      the response's property default value changed from 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr to 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj for the status

    • ○

      the response's property default value changed from 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr to 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj for the status

    • ○

      the response's property default value changed from 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr to 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj for the status