Shuttle Docs

getWalletAddressBalances

Read exact raw balances for a wallet address.

GroupBalances
RuntimesTypeScript browser/server, React client adapter, Python/Go server
Updated2026-09-15

Status

Proposed target SDK behavior for implementation. It is not an available SDK or an all-assets/network support claim.

Business action#

Read a balance snapshot for one authorized wallet address on one explicit network.

Proposed call#

getWalletAddressBalances(
  input: GetWalletAddressBalancesInput,
  options?: CallOptions,
): Promise<WalletBalanceSnapshot>

TypeScript uses walletId or the documented managed address field and network. Each exact base-unit amount is bigint in the SDK result and a canonical decimal string on the wire.

Go uses WalletID and Network; base-unit amounts are independent big.Int values decoded from canonical decimal strings. A failed read returns an error, not a zero-value snapshot.

Required input: wallet ID or managed address and exact network. The authenticated actor context supplies tenant/owner scope and the backend enforces it independently.

Result#

A timestamped balance snapshot with asset identity, exact base-unit amount, precision metadata and coverage/freshness information. It is not a cross-network portfolio, transaction history, fund reservation or spend guarantee.

Effects and failures#

Read-only. Unsupported coverage, unavailable data and absent assets remain distinguishable from verified zero. Holdings may change after the snapshot. Monetary values never require floating-point conversion.

Acceptance#

See sendTransaction.