Docs

IThirdwebWallet.Disconnect

This method cleanly disconnects the wallet instance from the blockchain network or any related services, effectively ending the session.

Note: When using InAppWallet this will clear the session and require the user to re-authenticate to reconnect later on. When using SmartWallet this will disconnect the personal wallet it uses as a signer.

Usage

await wallet.Disconnect();