New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
English
Returns the total balance of the owner’s compressed accounts.
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getCompressedBalanceByOwner", "params": { "owner": "11111113R2cuenjG5nFubqX9Wzuukdin2YfGQVzu5" } } '
{ "context": { "slot": 100 }, "value": 100 }
Your Helius API key. You can get one for free in the dashboard.
The version of the JSON-RPC protocol.
2.0
An ID to identify the request.
The name of the method to invoke.
getCompressedBalanceByOwner
Show child attributes
A Solana public key represented as a base58 string.
"11111113R2cuenjG5nFubqX9Wzuukdin2YfGQVzu5"
Successfully retrieved compressed balance by owner from the Solana blockchain
100
Was this page helpful?