Skip to content
Alchemy Logo

getCompressedBalance

POST
/{apiKey}
CUs120Throughput CUs100

Returns the balance for the compressed account with the given address or hash. Provide either address or hash.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

string or nulloptional

Pubkey of the compressed account to query.

string or nulloptional

Hash of the compressed account to query.

Responses

200

The lamport balance of the compressed account.

Was this page helpful?