Checking on-chain balances
Cassia surfaces stablecoin balances (USDT, USDC) for each connected wallet. Per-chain totals are shown in the "View addresses" window on each wallet card and via GET /api/public-keys/:id/balance. To see which specific addresses hold funds today, use GET /api/public-keys/:id/addresses or the "View addresses" link on each wallet card. Both endpoints are dashboard-only (session): an API key gets 403 there, like every wallet endpoint.
Empty addresses (already swept to your treasury, or never used) are hidden — both in the API response and in the UI.
Each row carries a source field: invoice means the address was assigned to a Cassia invoice (with invoice_id set); direct means a deposit landed without going through an invoice — webhooks did not fire for those payments. The wallet card shows Through Cassia stats; the live on-chain total is in the "View addresses" window.
Balances are cached server-side for 30 seconds and rate-limited at 60 requests per minute per merchant. For higher-frequency monitoring, run your own balance polling against the chain directly using the address list.
Reading the response
available: false: balances can't be shown right now. Ifreasonisbusy, retry in a minute; if it isdaily_limit, try again the next day (UTC).incomplete: true: some addresses couldn't be read this time;unread_countsays how many. The total covers only the addresses that were read. Retry shortly for a full figure.truncated: true(on both endpoints): not every address could be included; the list (and total) are partial.- A
503witherror: "balance_unavailable": the lookup failed; retry later.
The view lists addresses Cassia generated for this wallet that currently hold USDT or USDC. It is a convenience view, not a guaranteed full balance: when any of the flags above is set, treat the total as a lower bound and check your wallet app for the authoritative figure.
available: false. Live on-chain balance lookups aren't wired up for those two chains yet, so both endpoints answer “not known” rather than an indistinguishable $0.00 — the dashboard shows “Balance lookup not yet available for this chain” on those cards. Invoices, webhooks and billing are unaffected. For a Solana wallet you can read balances yourself against any Solana RPC using the pool addresses.Updated . For integration help, email [email protected]