Burns tokens. The contract's totalSupply
will be reduced accordingly. You can find the totalSupply
by using Get Contract.
The account that sends the transaction to burn tokens. If you leave it blank, it will automatically be set to the deployer
address as default . You can find the deployer
address by KIP7Deployer.
You can omit the KRN if the from
address is managed by the KIP-7 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}
).
Your request was successful.
Your request is not valid.
The credential you entered is invalid.
The resource you requested doesn't exist.
{- "from": "0x1eb15b3ccb2add3bfe132a4f6ad21ca62cf94e6d",
- "amount": "{wrong value}"
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0x60412f876bfb8ae9953caa47be11cd5961a591198e09c25bb8cc3b26e416a862"
}