Skip to main content
POST
cURL

Request Parameters

address
string
default:"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
A Solana public key represented as a base58 string.
hash
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.

Example:

"1"

method
enum<string>
default:getCompressedBalance
required

The name of the method to invoke.

Available options:
getCompressedBalance
params
object
required

Request for compressed account data

Example:

Response

Successfully retrieved compressed account balance from the Solana blockchain

context
object
required
value
integer
default:100
required
Example:

100