getCompressedAccountProof
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns a proof the compression program uses to verify that the account is valid.
An ID to identify the request.
The version of the JSON-RPC protocol.
The name of the method to invoke.
POST / HTTP/1.1
Host: mainnet.helius-rpc.com
Content-Type: application/json
Accept: */*
Content-Length: 136
{
"id": "test-account",
"jsonrpc": "2.0",
"method": "getCompressedAccountProof",
"params": {
"hash": "1111111Af7Udc9v3L82dQM5b4zee1Xt77Be4czzbH"
}
}
{
"context": {
"slot": 100
},
"value": {
"hash": "1111111Af7Udc9v3L82dQM5b4zee1Xt77Be4czzbH",
"leafIndex": 1,
"merkleTree": "1111111AFmseVrdL9f9oyCzZefL9tG6UbvhMPRAGw",
"proof": [
"1111111Af7Udc9v3L82dQM5b4zee1Xt77Be4czzbH"
],
"root": "1111111Af7Udc9v3L82dQM5b4zee1Xt77Be4czzbH",
"rootSeq": 1
}
}