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

Send token With MetaMask

PreviousDisconnect MetaMaskNextGet Balance of a Token

Last updated 2 years ago

Parameters

Parameter name
Type
Description

Token to send

Text

Optional field. Token contract address. By default it will use the native token (ETH,BNB etc.). To send chain native token, leave the field empty.

Amount

Number

Amount to send. It will be auto-converted to WEI.

Wallet to receive

Text

Wallet address that will receive the token.

Gas Price

Text

Optional field. If you want to increase the default gas price. The default gas price is calculated automatically by the wallet, not by the plugin. It will be auto-converted to WEI.

Events

This action uses only the common events that are used in other actions as-well, read the details of it in section.

States

Transaction status and Transaction Hash ID from

Demo

This demo shows an example of a simple checkout page with a custom ERC20 token on Goerli testnet.

Demo Editor

Common Events
Common States