- React
- React Native
- Swift
- Flutter
You can show the balance of the primary wallet by using the useDynamicContext hook and the
getBalance
method from the wallet connector.React
Multichain Balances
For applications that need to fetch token balances across multiple blockchain networks simultaneously, Dynamic provides agetMultichainBalances
method. This is useful for displaying comprehensive portfolio views or checking balances across different chains without making separate API calls.
- React
- React Native
In React, you can use the
useMultichainTokenBalances
hook to fetch balances across multiple chains:React