Yes. Every time a token is spent (including when it’s swapped for a fresh one). Otherwise, an attacker could keep swapping it and bloat the database.
Discussion
Thx.. it makes sense.. And is there any mint overview with their fee policy?
It’s probably param `MINT_INPUT_FEE_PPK`?
And the fee applies per token? Meaning it’s more efficient to user bigger amounts?
I’m not aware of anything like that, but I modified one of my older scripts and it turned out like this:
