Term · Trading and DeFi

Automated market maker

In plain words

An automated market maker, or AMM, is a pool of two assets on the XRP Ledger. You can swap between the two assets at an exchange rate set by a mathematical formula.

Written by zerps in plain words, from the source linked below.

In plain words

AMMs provide liquidity in the XRP Ledger's decentralized exchange, or DEX. Each AMM holds a pool of two assets. You give one of them and receive the other, at the rate the formula sets.

Who fills the pool

Those who deposit assets into an AMM are called liquidity providers. In return they receive LP tokens from the AMM.

Where you meet it

Cross-currency payments use offers and AMMs to convert between currencies. An open offer can be matched by other offers, by an AMM, or by a combination of both. Permissioned DEXes are not compatible with AMMs: a transaction that specifies a domain cannot use any AMM.

Good to know

You can tell if an AMM was involved in a transaction by reading its AffectedNodes array. A RippleState entry with the lsfAMMNode flag enabled is a trust line connected to an AMM.

Source: xrpl.org, xrpl.org, xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.