- deleteDiscount#
Delete all discount tokens of one token family from the wallet.
Request:
The request arguments must be a DeleteDiscountRequest object.
Response:
On success, the result is an empty object.
Side effects:
Deletes all discount tokens of the token family from the wallet database. If any token of the family is still in use by a transaction, nothing is deleted.
Expected errors:
The caller can handle the following errors inline:
WALLET_TOKENS_IN_USE.
interface DeleteDiscountRequest {
// Hash of token family info.
tokenFamilyHash: string;
}