connect() must be called and WalletConnect session must be initiated before account information will be returned.
The getBalance() function returns an account’s balance. If an address is provided, the wallet will return that address’ balance if that address is in the wallet. Otherwise, it will return the currently selected account’s balance. If you want the balance state to automatically be reflected in the dApp, you should use the useBalance hook.