Ledger entry · Trading and DeFi

AMM

In plain words

An AMM entry is the ledger's record of one automated market maker (AMM), a pool that holds two assets and that people trade against. It tracks the pool's assets, its trading fee and its liquidity provider tokens.

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

What it is

Each AMM entry describes a single Automated Market Maker instance. It is always paired with a special AccountRoot entry, the account that holds the pool's assets. This entry type was added by the AMM amendment, enabled on 22 March 2024.

What it holds

Asset and Asset2 define the two assets the pool holds. Account is the address of the special account that holds them. LPTokenBalance is the total outstanding balance of liquidity provider tokens from this pool. Holders of these tokens can vote on the trading fee in proportion to their holdings. They can also redeem the tokens for a share of the pool's assets, which grows with the trading fees collected. TradingFee is the fee charged for trades against the pool, in units of 1/100,000. Its maximum value is 1000, for a 1% fee.

Votes and the auction slot

VoteSlots is a list of votes on the pool's trading fee. Each vote names the account that cast it, the fee it proposes and its weight. The weight is determined by the percentage of the pool's LP Tokens that account owns. AuctionSlot describes the current owner of the auction slot: the owner's account, the price paid in LP Tokens, the time the slot expires and the discounted fee. Normally that fee is 1/10 of the pool's normal fee. The slot can also list at most 4 additional accounts that are authorized to trade at the discounted fee.

How it is made

You create an AMM by sending an AMMCreate transaction. The related transactions are AMMDeposit, AMMWithdraw, AMMVote, AMMBid, AMMClawback and AMMDelete.

Reserve and flags

AMM entries do not require a reserve. No flags are defined for them.

In the source's words
The definition and details of an Automated Market Maker (AMM) instance.xrpl.org

Source: 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.