POST
/
cURL
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "getMultipleCompressedAccountProofs",
  "params": [
    "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
  ]
}'
{
  "context": {
    "slot": 100
  },
  "value": [
    {
      "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
      "leafIndex": 1,
      "merkleTree": "11111117SQekjmcMtR25wEPPiL6m1Mb5586NkLL4X",
      "proof": [
        "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
      ],
      "root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
      "rootSeq": 1
    }
  ]
}

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
default:1
required

An ID to identify the request.

method
enum<string>
default:getMultipleCompressedAccountProofs
required

The name of the method to invoke.

Available options:
getMultipleCompressedAccountProofs
params
string[]
required

A 32-byte hash represented as a base58 string.

Response

Successfully retrieved multiple compressed account proofs from the Solana blockchain

context
object
required
value
object[]
required