ZK Compression
getCompressedBalance
Returns the balance for the compressed account with the given address or hash.
POST
cURL
Request Parameters
A Solana public key represented as a base58 string.
A 32-byte hash represented as a base58 string.
Authorizations
Body
application/json
The version of the JSON-RPC protocol.
Available options:
2.0 An ID to identify the request.
Example:
"1"
The name of the method to invoke.
Available options:
getCompressedBalance Request for compressed account data
Example:
{
"address": null,
"hash": "11111111111111111111111111111111"
}Previous
getCompressedBalanceByOwnerReturns the total balance of the owner's compressed accounts.
Next
cURL