Skip to main content
POST
cURL

Request Parameters

string
default:"11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3"
The Solana public key of the compressed account to retrieve data for
string
The data hash identifier of the compressed Solana account if the address is not available

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
default:1
required

An ID to identify the request.

method
enum<string>
default:getCompressedAccount
required

The name of the method to invoke.

Available options:
getCompressedAccount
params
object
required

Request parameters for retrieving compressed account data on Solana, including address identifier or data hash for compressed NFTs and tokens

Example:

Response

Successfully retrieved compressed account data from the Solana blockchain

context
object
required
value
object