getMultipleCompressedAccountProofs

Returns multiple proofs used by the compression program to verify the accounts' validity.

post
Body
idstring · enumRequired

An ID to identify the request.

Possible values:
jsonrpcstring · enumRequired

The version of the JSON-RPC protocol.

Possible values:
methodstring · enumRequired

The name of the method to invoke.

Possible values:
paramsstring[]Required

A 32-byte hash represented as a base58 string.

Example: 1111111BTngbpkVTh3nGGdFdufHcG5TN7hXV6AfDy
Responses
post
POST / HTTP/1.1
Host: mainnet.helius-rpc.com
Content-Type: application/json
Accept: */*
Content-Length: 138

{
  "id": "test-account",
  "jsonrpc": "2.0",
  "method": "getMultipleCompressedAccountProofs",
  "params": [
    "1111111BTngbpkVTh3nGGdFdufHcG5TN7hXV6AfDy"
  ]
}
{
  "context": {
    "slot": 100
  },
  "value": [
    {
      "hash": "1111111BTngbpkVTh3nGGdFdufHcG5TN7hXV6AfDy",
      "leafIndex": 1,
      "merkleTree": "1111111B4T5ciTCkWauSqVAcVKy88ofjcSamrapud",
      "proof": [
        "1111111BTngbpkVTh3nGGdFdufHcG5TN7hXV6AfDy"
      ],
      "root": "1111111BTngbpkVTh3nGGdFdufHcG5TN7hXV6AfDy",
      "rootSeq": 1
    }
  ]
}

Last updated

Was this helpful?