Skip to main content
POST
cURL

Request Parameters

string
default:"3J98t1WpEZ73CNm"
A base 58 encoded string.
number
string
default:"11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm"
A Solana public key represented as a base58 string.
string
default:"11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm"
required
A Solana public key 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:getCompressedTokenBalancesByOwnerV2
required

The name of the method to invoke.

Available options:
getCompressedTokenBalancesByOwnerV2
params
object
required

Response

Successfully retrieved compressed token balances by owner (V2) from the Solana blockchain

context
object
required
value
object
required