Once you connect the wallet, you can use the following way to interact with the connected wallet:
import{ useTomoProviders, useTomoModalControl, useTomoWalletConnect, useTomoWalletState, useWalletList}from'@tomo-inc/wallet-connect-sdk'// Open BTC connection modalconsttomoModal=useTomoModalControl();tomoModal.open("bitcoin");// tomoModal.open('cosmos'); to open Cosmos wallets connection modal// Check wallet connection statusconsttomowalletState=useTomoWalletState();constconnected=tomowalletState.isConnected;// Check all the supported walletsconstsupportedWallets=useWalletList();// Get providerconstproviders=useTomoProviders();constprovider=providers.bitcoinProvider;// DisconnectconsttomoWalletConnect=useTomoWalletConnect();tomoWalletConnect.disconnect();