useBalance
Hook for getting a wallet's current balance of native or (optional) ERC20 token balance
Example
get the balance of the native token
get the balance of any other token
Parameters
Returns
The hook's data
property contains the token's balance in the value
property as a BigNumber
object.