Burns a token.
You will see Submitted
in the response even when you enter the wrong token ID, the from
and owner
are different, or when from
is not authorized to burn the token. But that does not mean that it is successfully Committed
. To confirm transaction status, use Get Transaction Receipt from the Wallet API.
from
is the address that sends the transaction. If from
is an account in the default account-pool
of KIP-17 or Wallet Service, you can omit the KRN header.
Otherwise you need to include the KRN header (x-krn: krn:{chain-id}:wallet:{account-id}:account-pool:{pool name}
).
Your request was successful.
Your request is not valid.
The credential you entered is invalid.
{- "from": "0xDc277E2D89b92336A4ee80be3c7142443FDaDE47"
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0xbf6de339cf435447e58da05384bbf83a16fea40044bb49b84e11d3b00ea0325f"
}