EN

Clawback and AMMClawback

5 minDifficulty Checked 2026-11-10
Key takeaways
  • An issuer can enable clawback only before it has any trust lines.
  • Once on, clawback is permanent. It cannot be combined with No Freeze.
  • AMMClawback takes the issuer's token out of a pool and returns the other asset to you.

Clawback lets an issuer take its tokens back from a holder. The usual example: tokens reached an account sanctioned for illegal activity, and the issuer must recover them.

Clawback is off by default, and the timing rule is strict. An issuer can turn it on only while its account owns nothing: no trust lines, offers, escrows, payment channels, checks or signer lists. So it must decide before anyone holds the token. After that:

  • Clawback can never be turned off.
  • The issuer can never set No Freeze. The two settings exclude each other.

The timing rule protects holders. An issuer cannot add clawback to a token you already hold. If a token can be clawed back, that was true before its first holder, and the flag shows it.

Clawback works even on a frozen line. XRP can never be clawed back.

Pools. Tokens in an AMM pool belong to the pool's own account, not to you. Regular clawback cannot reach them. AMMClawback, live since 2025-01-30, lets the issuer pull its token out of a pool in proportion to your share. The other asset in your share comes back to you.

Before AMMClawback, a new AMM pool could not be created with a token from a clawback-enabled issuer.

Check yourself3 questions
1. An issuer already has 500 holders. Can it start using clawback now?
2. In a Clawback transaction for a trust line token, what goes in Amount.issuer?
3. You put a clawback-enabled token and XRP in a pool. The issuer runs AMMClawback on you. What do you keep?
Sources
Next lessonCheck a token's flags first4 min