Burn ERC20Token

ERC20 Token can be Burned using this method. The weightage for this API is 5

API Specification

Burn ERC20Token

POST https://api.krypcore.com/api/v0/ft-manager/burnFT

ERC20 Token can be Burnedunder the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth Key obtained from Dash

DappId*

String

DappId

Request Body

NameTypeDescription

quantity*

String

The quantity of ERC20 tokens to burn

burnAddress*

String

The Ethereum address from which tokens will be burned

contractAddress*

String

The contract address of the ERC20 token being burned

chainId*

String

The Chain ID to specify the blockchain network

custodialWalletAccessToken*

String

Wallet Access Token Of Custodial Wallet

walletType*

String

The type of wallet being used

{
    Data: {
        "referenceId": "xxxx",
        "txnHash": ""
    },
    Message: "FT burnt successfully",
    Status: "SUCCESS"
}

Take a look at how you might call this method using our official libraries, or via curl:

curl --location 'https://api.krypcore.com/api/v0/ft-manager/burnFT' \
--header 'Authorization: xxxxxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxxxxx' \
--header 'ChainId: xxxx' \
--header 'Content-Type: application/json' \
--data '{
 "burnAddress": "0x588BeE528b93357B4d731CE817C47F4BFbc81B22",
  "chainId": "xxxx",
  "contractAddress": "0xa9BCB7E413FfE96575390c6F44F54607b44F030a",
  "custodialWalletAccessToken": "d263d546-ccc2-4676-9691-d28c3f836822",
  "quantity": "1000000000000000000",
  "walletType": "non-custodial"
}'

Last updated