New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns a proof the compression program uses to verify that the account is valid.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getCompressedAccountProof",
"params": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
}
}
'{
"context": {
"slot": 100
},
"value": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"leafIndex": 1,
"merkleTree": "11111117353mdUKehx9GW6JNHznGt5oSZs9fWkVkB",
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
}Documentation Index
Fetch the complete documentation index at: https://helius-codex-token-transfer-filter-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The version of the JSON-RPC protocol.
2.0 An ID to identify the request.
The name of the method to invoke for retrieving Solana compressed account proof data.
getCompressedAccountProof Show child attributes
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getCompressedAccountProof",
"params": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
}
}
'{
"context": {
"slot": 100
},
"value": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"leafIndex": 1,
"merkleTree": "11111117353mdUKehx9GW6JNHznGt5oSZs9fWkVkB",
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
}