Web3 & MetaMask - Bubble plugin
Get PluginAll our plugins
  • Overview
  • Quick Start Example
  • Elements details
    • Web3 & MetaMask
      • Connect To MetaMask
      • Disconnect MetaMask
      • Send token With MetaMask
      • Get Balance of a Token
      • Get Balance of Multiple Tokens
      • Get Token Symbol
      • Sign
      • Check signature
      • Sign Typed Data
      • Check signature-Typed Data
      • Smart Contract - Read
        • Example - CAKE/BUSD rate on Pancaksewap
      • Smart Contract - Write
        • Example - Write a function
      • Trigger Switch Chain
      • Approve - Set Allowance
      • Revoke Allowance
      • Deploy Contract
      • Add Chain to MetaMask
      • Get NFT Metadata
      • Check NFT Balance
      • Smart Contract - Read
      • Smart Contract - Write
    • Web3 Utils
      • Get Transaction confirmations
      • Get Transaction Details
      • To Wei
      • From Wei
      • Add Token to MetaMask
      • Get ENS data
      • Get ENS Domain from Address
  • Use with other Wallets & Plugins
  • Sign up a user with signature
  • How to use on Mobile
Powered by GitBook
On this page
  • Events
  • How to fully disconnect MetaMask manually
  1. Elements details
  2. Web3 & MetaMask

Disconnect MetaMask

PreviousConnect To MetaMaskNextSend token With MetaMask

Last updated 2 years ago

This action will simply reset all plugin states and set the connection state to No. It will NOT disconnect the MetaMask wallet from your app, this is a security limitation, the only way to fully disconnect is by doing so manually directly from your wallet.

Events

Event name
Description

MetaMask Disconnected

When disconnecting the wallet manually from the MetaMask directly or when using the action Disconnect MetaMask

All states like wallet address or chain name will reset to empty

How to fully disconnect MetaMask manually

Note that Disconnect action won't disconnect MetaMask completely from the app. This is a security limitation by the SDK itself and the only way to disconnect completely from the app si by doing it manually. See this example: