Skip to main content
POST
cURL

Request Parameters

string
default:"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
A Solana public key represented as a base58 string.
string
A 32-byte hash represented as a base58 string.

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:getCompressedTokenAccountBalance
required

The name of the method to invoke.

Available options:
getCompressedTokenAccountBalance
params
object
required

Request for compressed account data

Example:

Response

Successfully retrieved compressed token account balance from the Solana blockchain

context
object
required
value
object
required