Burn Multi Token Batch

POST {{baseUrl}}/v3/multitoken/burn/batch

2 credits per API call.


Burn multiple Multi Token Tokens by id assigned to same address in one transaction. This method destroys any Multi Tokens token from smart contract defined in contractAddress.

Tatum now supports Multi Tokens these blockchains:

  • Ethereum
  • Polygon (Matic)
  • Celo
  • Harmony.ONE
  • Binance Smart Chain
This operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key. No one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey or signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production, Tatum KMS should be used for the highest security standards, and signatureId should be present in the request. Alternatively, using the Tatum client library for supported languages or Tatum Middleware with a custom key management system is possible.

Request Body

{"account"=>"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f", "amounts"=>["10", "10"], "chain"=>"ETH", "contractAddress"=>"0x687422eEA2cB73B5d3e242bA5456b782919AFc85", "fromPrivateKey"=>"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2", "tokenId"=>["1000", "1001"], "data"=>"0x1234", "nonce"=>64819752.22229432, "fee"=>{"gasLimit"=>"40000", "gasPrice"=>"20"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"txId":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","failed":false}