Last updated 5 months ago
You can use request("wallet_disconnect") to disconnect your app from the user's wallet.
request("wallet_disconnect")
This method clears the app's for all wallet accounts, effectively disconnecting the user.
Your app will then need to again to fetch account data.