The event will fire when the user disconnect the wallet
// JavaScript detail: { id: 'WalletDisconnected', // event name wallet: 'MetaMask' }
// JavaScript window.addEventListener("WalletDisconnected", (event) => { console.log(event.detail.id, event.detail.wallet) })
Last updated 1 year ago