How do you detect when a MetaMask user disconnects their wallet from your dapp? I see there is a
disconnect event, but this is a for disconnecting from RPC - I want to know when the user has explicitly disconnected their wallet.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community