Withdraw from an XRPL AMM pool: redeem all your LP tokens for both assets, or take out an amount of one or both. We build the AMMWithdraw transaction after checking on the ledger that the pool exists and that you hold its LP tokens. You sign in Xaman.
How it works
An AMMWithdraw txjson taking liquidity back out of an AMM pool. mode=all redeems ALL your LP tokens for both assets (tfWithdrawAll); single withdraws an amount of asset 1 (tfSingleAsset); two withdraws amounts of both (tfTwoAsset). Checked against the ledger: the pool must exist and you must hold its LP tokens.
We build an AMMWithdraw with the pool identified by Asset and Asset2 and your chosen mode: withdraw everything (tfWithdrawAll), one asset (tfSingleAsset) or both (tfTwoAsset).
Safe
Additive or reversible. XRPLHub builds it and delivers the unsigned transaction with no extra confirmation step.
Included
✓ AMMWithdraw built to spec
✓ Withdraw all, one asset, or both
✓ Pool and LP tokens checked first
✓ Companion to AMM Liquidity Entry
✓ TX hash receipt
What you provide
asset2Currencyrequired
Asset 2 currency (identifies the pool)
RLUSD
asset2Issueroptional
Asset 2 issuer if not XRP
rIssuer...
assetCurrencyoptional
Asset 1 currency (default XRP)
XRP
assetIssueroptional
Asset 1 issuer if not XRP
rIssuer...
modeoptional
all (default), single, or two
all
assetValueoptional
Amount of asset 1 to withdraw (single / two modes)
10
asset2Valueoptional
Amount of asset 2 to withdraw (two mode)
14
Frequently asked
Does XRPLHub sign this transaction for me?
No. XRPLHub builds the exact unsigned transaction and returns it to you. You review it and sign it yourself with your own wallet (Xaman, Crossmark or GemWallet). XRPLHub never holds your keys and never submits anything on your behalf.
Is AMM Liquidity Exit reversible?
Yes — this service is additive or reversible; it does not permanently remove capability from your account.
What does it cost and how do I pay?
$25 USD, priced the same on every rail: RLUSD or XRP in the storefront checkout, or RLUSD on the XRP Ledger / USDC on Base via x402. The price is set by the server and verified on-ledger for every payment — it is never taken from anything the caller sends.
What XRPL transaction does this build?
A AMMWithdraw transaction. We build an AMMWithdraw with the pool identified by Asset and Asset2 and your chosen mode: withdraw everything (tfWithdrawAll), one asset (tfSingleAsset) or both (tfTwoAsset).
XRPLHub builds and describes XRPL transactions only. It never signs, never submits, and never holds keys. See every service, or check any wallet’s XRPLScore first.