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
  • Demo
  • Parameters
  1. Elements details
  2. Web3 Utils

Add Token to MetaMask

Import a custom token to MetaMask wallet

PreviousFrom WeiNextGet ENS data

Last updated 2 years ago

To import a token first thing you need to do is to make sure that the wallet is connected on the same chain where the token is deployed. If it is not, you can use action

Parameters

Parameter name
Type
Documentation

Token Address

Text

Token smart contract address

Token Symbol

Text

It will be displayed in the MetaMask tokens list

Token Decimals

Number

Default is 18 but you must indicate it

Token Image

Text

Optiona. A link to token logo

Example:

Demo
Trigger Switch Chain