Reputation: 169
Can someone clarify what the difference in behaviour is for the HTS functions wipe()
and burn()
and why you would use them and in what scenarios?
They seem very similar in function to me.
Upvotes: 1
Views: 251
Reputation: 513
Burn() is used to delete tokens from the treasury account
.
Wipe() is used to delete tokens from a user account
.
Therefore, when you call wipe
you need to specify the account id that you want to delete the token from but you don't need to specify the account if when you call burn
.
Upvotes: 3