useAccount
Usage
connect()
must be called and WalletConnect session must be initiated before account information will be returned.
The useAccount
hook returns the currently selected account at the time of connection. When your account change in the wallet, the account change will be reflected in the dApp. If you create or import a new account after connection, you’ll have to reconnect your dApp to the wallet.