Burns the tokens from the amount that the spender
is authorized to send, as specified by the owner
. The remaining balance of the tokens that the sender
is allowed to send can be found via Get Token Balance.
The account that sends the transaction.
You can omit the KRN if the spender
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.
{- "owner": "0x1eb15b3ccb2add3bfe132a4f6ad21ca62cf94e6d",
- "spender": "{wrong address}",
- "amount": "0x100"
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0x60412f876bfb8ae9953caa47be11cd5961a591198e09c25bb8cc3b26e416a862"
}