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
  • States
  1. Elements details
  2. Web3 & MetaMask

Connect To MetaMask

Action from Web3 & MetaMask plugin element. Used in workflows.

PreviousWeb3 & MetaMaskNextDisconnect MetaMask

Last updated 2 years ago

If the MetaMask is installed, this action will open a pop-up with the user wallet asking to connect to current app with MetaMask.

See on how to connect the wallet to your app. Note! You can connect multiple wallets at once by selecting more than one in your MetaMask when asked to connect. When switching between wallets, an event called User selected another Wallet will trigger.

Events

Event name
Description

MetaMask Connected

Triggered when wallet is connected.

States

State name
Type
Description

Wallet Address

Text

Currently connected wallet address.

MetaMask is Connected

Yes/No

Is the wallet connected to the app.

Connected to Chain ID

Number

Chain id of the connected wallet. See all chain IDs on this site

Connected to Chain Name

Text

Same as Chain ID but shows the chain name.

Chain Token Symbol

Text

Token symbol of the connected chain, example: ETH, MATIC, BNB, etc.

Quick Start Example
https://chainlist.org/