Skip to main content
POST
/
getMultipleCompressedAccounts
cURL
curl --request POST \
  --url https://devnet.helius-rpc.com/getMultipleCompressedAccounts \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "test-account",
  "jsonrpc": "2.0",
  "method": "getMultipleCompressedAccounts",
  "params": {
    "addresses": null,
    "hashes": [
      "1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM",
      "1111111ogCyDbaRMvkdsHB3qfdyFYaG1WtRUAfdh"
    ]
  }
}
'
{
  "id": "test-account",
  "jsonrpc": "2.0",
  "error": {
    "code": 123,
    "message": "<string>"
  }
}

Body

application/json
id
enum<string>
required

An ID to identify the request.

Available options:
test-account
jsonrpc
enum<string>
required

The version of the JSON-RPC protocol.

Available options:
2.0
method
enum<string>
required

The name of the method to invoke.

Available options:
getMultipleCompressedAccounts
params
object
required

Request for compressed account data

Example:
{
  "addresses": null,
  "hashes": [
    "1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM",
    "1111111ogCyDbaRMvkdsHB3qfdyFYaG1WtRUAfdh"
  ]
}

Response

id
enum<string>
required

An ID to identify the response.

Available options:
test-account
jsonrpc
enum<string>
required

The version of the JSON-RPC protocol.

Available options:
2.0
error
object
result
object