useWalletBalance
Fetch the balance of a wallet in native currency or for a specific token.
Leave tokenAddress
undefined to fetch the native token balance.
Example
Fetching the native token balance
Fetching a specific token balance
Parameters
Returns
GetWalletBalanceResult The result of the query.