WEMIX3.0
WEMIX3.0 (ENG)
WEMIX3.0 (ENG)
  • Introduction
    • Blockchain Basics
      • What is Blockchain?
      • Consensus Algorithm
      • Transactions
      • Gas
      • Account
  • Design
    • Architecture
    • Consensus
    • Governance
    • Minting
    • EIP1559
    • Eco Fund
    • Fee Delegation
    • Roadmap
  • Quick Start
    • Start Node
      • Use Binary
        • Command-line Option
      • Use Public API Server(RPC)
    • Connect Node
    • Account
      • Use MetaMask
    • Testnet Faucet
  • Install & Operation
    • End Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Block Producer Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Download
    • Operation Guide
  • dApp Developer
    • Smart Contract
      • Solidity
      • Precompiled Contracts
      • Sample Contracts
    • JSON-RPC
    • API Reference
      • Account APIs
      • Block APIs
      • Contract APIs
      • Transaction APIs
      • Event logs APIs
      • Tokens APIs
  • Tutorial
    • Create a Wallet
    • Receive Test Coin
    • Create Smart Contract
      • Remix
      • Truffle
      • Hardhat
    • ERC-20 Token
      • Write ERC-20 Contract
      • Check ERC-20 Token
      • Send ERC-20 Token
      • Check ERC-20 Token API
      • Burn ERC-20 Token
    • ERC-721 Token
      • Write ERC-721 Contract
      • Minting ERC-721 Token
      • Check ERC-721 Token API
      • Burn ERC-721 Token
    • Use Fee Delegation
  • Manual
    • Explorer
    • Wallet
  • FAQ
Powered by GitBook
On this page
  1. Tutorial
  2. ERC-721 Token

Burn ERC-721 Token

PreviousCheck ERC-721 Token APINextUse Fee Delegation

It is possible to proceed an ERC-721 Token burning test using Remix.

All examples are based on WEMIX3.0 Testnet.

Let's proceed with the ERC-721 token burning process.

and should proceed first.

Burn ERC-721 Token

To burn a Minted ERC-721 Token, enter the issued TokenID. After then, the ERC-721 Token will be burned.

You can see the deployed contracts in the Deployed Contracts section of the ERC-721 Contract Deployment and Minting screen.

Select 'burn' to enter TokenID.

The figure below shows an example of Token ID 1 being burned.

When you select 'transact' after entering TokenID, a MetaMask pop-up appears and a screen showing the default 'Gas Fee' based on Ethereum appears.

WEMIX has a different fee policy than Ethereum, so press the 'Site suggested' button to change t the Gas Fee.

Selecting 'Advanced' on the screen below allows the user to set 'Max priority fee (GWEI)' and 'Max fee (GWEI)' manually.

Currently, WEMIX is using a fixed 'Max priority fee (GWEI)' and the value is 100.

Max fee is a user-defined value and the minimum value is MaxPriorityFee+BASE_FEE.

BASE_FEE in WEMIX is variable according to EIP-1559. Therefore, for a transaction to be successfully created, it is recommended to set it as follows.

  1. Max base fee (GWEI) = 101

  2. Max priority fee (GWEI) = 100

Complete the Fee setup in the figure above and select 'Save' to be ready for burning Token as shown below.

Select 'Confirm' in the figure above to burn ERC-721 Token.

If a green check mark appears at the bottom of the Remix screen as shown below, the burning ERC-721 Token is completed normally.

Copy the transaction hash that appears as a result of the run, and search in , to confirm that the ERC-721 Token has been burned.

The figure below is an example of what has seen.

Testnet Explorer
Testnet Explorer
Write ERC-721 Contract
Minting ERC-721 Token
Burning Token ID 1
MetaMask, default 'Gas fee'
MetaMask default 'Gas Fee' setting entry screen
'Gas Fee' setting
Confirm ERC-721 Token burning
Complete ERC-721 Token burning
Before burning TokenID 1
After burning TokenID 1