LaserStream and Sender are now live! Experience ultra-fast data streaming and optimized transaction sending. Learn about LaserStream | Learn about Sender
Returns a proof the compression program uses to verify that the account is valid.
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --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 } }
Your Helius API key. You can get one for free in the dashboard.
Successfully retrieved merkle proof for the requested Solana compressed account
The response is of type object.
object
Was this page helpful?