Burns specified tokens minted from a KIP-37 contract. You can select the number and the amount of tokens burn.
The account that sends the transaction.
You can omit the KRN if the from
address is managed by KIP-37 or Wallet Service account-pool
.
Otherwise you have to provide the KRN object in the header (x-krn: krn:{chain-id}:wallet:{account-id}:account-pool:{pool name}
).
It is possible to send different tokens in different amounts. Different functions will be called according to the number of Batch Items (ids
, amounts
) in the request.
burn
functionburnBatch
functionYour request was successful.
The request is not valid.
The resource you requested does not exist.
{- "from": "0xDc277E2D89b92336A4ee80be3c7142443FDaDE47",
- "ids": [
- "0x1",
- "0x2"
], - "amounts": [
- "0x100",
- "0x200"
]
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0xb5a0618be3508b3fe22e35aa96063005dd4c557cf040348cc542b0726cc30f7b"
}