getMultipleCompressedAccountProofs
Returns multiple proofs used by the compression program to verify the accounts' validity
post
Body
idstring · enumRequiredPossible values:
An ID to identify the request.
jsonrpcstring · enumRequiredPossible values:
The version of the JSON-RPC protocol.
methodstring · enumRequiredPossible values:
The name of the method to invoke.
paramsstring[]RequiredExample:
A 32-byte hash represented as a base58 string.
11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP
Responses
200Success
application/json
429
Exceeded rate limit.
application/json
500
The server encountered an unexpected condition that prevented it from fulfilling the request.
application/json
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": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
]
}
{
"context": {
"slot": 100
},
"value": [
{
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"leafIndex": 1,
"merkleTree": "11111117SQekjmcMtR25wEPPiL6m1Mb5586NkLL4X",
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
]
}
Last updated
Was this helpful?