build_clawback_unsigned
Assemble an unsigned Clawback transaction for an issuer to revoke previously-issued tokens from a holder. Returns unsigned JSON for offline signing.
Instructions
Assemble an UNSIGNED Clawback — an issuer revokes previously-issued tokens from a holder (ported from XRPL). Account is the ISSUER; the holder is whom you claw from. NOTE: requires the issuer to have enabled clawback (AccountSet asfAllowTrustLineClawback) BEFORE issuing. Cannot claw native XAH. Returns unsigned JSON + preflight. Never signs; testnet by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | amount to claw back (positive) | |
| holder | Yes | the account to claw tokens back from | |
| account | Yes | the token issuer (you) | |
| network | No | testnet | |
| currency | Yes | 3-char ISO code or 40-hex currency |