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.

Reply to this note

Please Login to reply.

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:

The fee is charged per token, but with a rate of 100 ppk it’s rounded up to 1 sat even for fewer than 10 tokens.

Thank you. And it is priced per token, right? So the amount doesn’t matter.

Yes. Although a larger amount usually means more tokens 👍