New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns the compressed account with the given address or hash.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getCompressedAccount",
"params": {
"address": null,
"hash": "11111111111111111111111111111111"
}
}
'{
"context": {
"slot": 100
},
"value": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"lamports": 100,
"leafIndex": 100,
"owner": "11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3",
"seq": 100,
"slotCreated": 100,
"tree": "11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3",
"address": "11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3",
"data": {
"data": "SGVsbG8sIFdvcmxkIQ==",
"dataHash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"discriminator": 100
}
}
}Documentation Index
Fetch the complete documentation index at: https://helius-auto-translations.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.
getCompressedAccount Request parameters for retrieving compressed account data on Solana, including address identifier or data hash for compressed NFTs and tokens
Show child attributes
{
"address": null,
"hash": "11111111111111111111111111111111"
}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": "getCompressedAccount",
"params": {
"address": null,
"hash": "11111111111111111111111111111111"
}
}
'{
"context": {
"slot": 100
},
"value": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"lamports": 100,
"leafIndex": 100,
"owner": "11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3",
"seq": 100,
"slotCreated": 100,
"tree": "11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3",
"address": "11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3",
"data": {
"data": "SGVsbG8sIFdvcmxkIQ==",
"dataHash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"discriminator": 100
}
}
}