Use sdk.wallets.getMultichainBalances to fetch token balances across multiple chains and networks in a single call. Use it for portfolio-style views instead of calling getBalance per wallet.
response.balances is a flat list of TokenBalance items. Each item exposes balance, balanceDecimal, symbol, name, decimals, networkId, chain, logoUrl, and isNative.
getBalance returns the native asset only (for example ETH on Ethereum, SOL on Solana) for the wallet’s active network. For token balances across chains and networks, use getMultichainBalances above.
The SDK provides a unified method to get balance for any wallet type:
// Use BigInt for EVM to avoid precision lossfinal wei = BigInt.parse('1500000000000000000'); // 1.5 ETHfinal eth = BalanceConverter.weiToEth(wei);// Use int for Solanafinal lamports = 1500000000; // 1.5 SOLfinal sol = BalanceConverter.lamportsToSol(lamports);