POST
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "getAssetProofBatch",
  "params": {
    "ids": [
      "Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss"
    ]
  }
}'
{
  "jsonrpc": "2.0",
  "result": {
    "Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss": {
      "root": "2o6Y6EiY3WXhoaEpei2pHmHLYnHDcEQVhgD89GrGHDBH",
      "proof": [
        "EmJXiXEAhEN3FfNQtBa5hwR8LC5kHvdLsaGCoERosZjK",
        "7NEfhcNPAwbw3L87fjsPqTz2fQdd1CjoLE138SD58FDQ"
      ],
      "node_index": 16384,
      "leaf": "6YdZXw49M97mfFTwgQb6kxM2c6eqZkHSaW9XhhoZXtzv",
      "tree_id": "2kuTFCcjbV22wvUmtmgsFR7cas7eZUzAu96jzJUvUcb7"
    }
  },
  "id": "my-id"
}

Authorizations

api-key
string
query
required

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

Query Parameters

api-key
string
required

Your Helius API key required for authenticating batch requests to the Solana compression API.

Example:

"string"

Body

application/json

Response

200
application/json
Successful response

The response is of type object.