Wallet / 15
Balances and token information
Load wallet metadata and token balances without exposing signing material.
Read token profile and balance
Use the backend wallet ID for getTokenBalance. Render decimal amounts using the server token metadata; preserve raw integer strings for financial calculations. Do not use JS floating point for token quantities.
typescript
const profile = await sdk.getTokenProfile();
const balance = await sdk.getTokenBalance({ walletId: backendWalletId });Refresh the dashboard
On session change clear balances and local wallet references. Refresh on explicit user request or appropriate foreground UI refresh. A missing balance is not a zero balance. Show loading, failure and empty states separately.