Skip to content
Alchemy Logo

getCompressedBalance

POST
/{apiKey}

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

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectrequired

The compressed account to query, identified by either its address or its hash.

Responses

200

The lamport balance of the compressed account.

Was this page helpful?