EnabledTier ADeFi & DEX
AMM XLS-30
Native automated market makers extend the XRPL's existing order book DEX. AMM is enabled on the XRP Ledger. xrpscan reports Mar 22, 2024 (UTC) as its activation date and rippled 1.12.0 as its first version.
Sources reviewed Oct 5, 2026 · English page updated Oct 5, 2026 · Phil · CryptoTuts founder
- Status
- Enabled
- XLS
- XLS-30
- Version
- rippled 1.12.0
- Enabled
- Mar 22, 2024 (UTC)
What does this amendment change?
What changes compared with the predecessor?
Who is this change relevant to?
What limitations and risks remain?
What fee and performance figures does the specification provide?
Technical details: transactions, fields, codes and invariants
Transactions
- AMMCreate
- AMMDeposit
- AMMWithdraw
- AMMVote
- AMMBid
- AMMDelete
- Payment (AMM swap)
Ledger objects
- AMM
- AccountRoot of the AMM
- RippleState for LP tokens
Fields and flags
- AMMID
- Amount / Amount2
- Asset / Asset2
- LPTokenOut / LPTokenIn
- TradingFee
- VoteSlots
- AuctionSlot
- tfLPToken 0x00010000
- tfSingleAsset 0x00080000
- tfTwoAsset 0x00100000
- tfWithdrawAll 0x00020000
- tfTwoAssetIfEmpty 0x00800000
Result codes
- tecINCOMPLETE
Invariants
- When no one holds LP tokens anymore, the AMM must retain no asset reserves.
What does a concrete workflow look like?
How does this amendment relate to others?
Every direct relationship has a type, an explanation and a primary source.