Balance Management
This guide covers querying and managing token balances in the Privacy Boost SDK.Understanding Balances
Privacy Boost tracks two types of balances:| Balance Type | Description |
|---|---|
| Shielded | Private balance in the privacy pool |
| Wallet | Public balance in your connected wallet |
Get Single Token Balance
Get All Balances
Balance Type
Refreshing Balances
Balances are cached locally. Refresh to get the latest:Token Metadata
Get information about a token:Token Metadata Type
Supported Tokens
Get list of all supported tokens:Formatting Amounts
parseAmount and formatAmount are standalone utilities exported from the SDK package.