Insights

XRPL AMM Pools - Liquidity Providing Guide

An AMM pool on the XRP Ledger holds two assets and trades one for the other at a price set by how much of each it holds. Anyone can add to a pool and earn a share of its trading fee. 31,640 pools hold 28.98M XRP, and their providers earned 22,878 XRP in the last 7 days.

31,640
pools on the ledger
28.98M XRP
deposited in them
5.18M XRP
traded through them in 7 days
0.48%
average trading fee

How providing liquidity works

  1. 1. Deposit

    Both assets at the pool’s ratio, or just one.

  2. 2. Receive LP tokens

    Your share of the pool, as a token in your wallet.

  3. 3. Fees stay in the pool

    Every trade pays the fee into the pool, so each LP token is worth a little more.

  4. 4. Withdraw

    Return the LP tokens for your share of both assets, fees included.

The pool is part of the ledger, not a contract: its rules are the same for every pool and nobody holds keys to it.

A trade puts one asset into the pool and takes the other out, so the price moves with every trade. Swaps on the ledger use the pool and the order book together, whichever gives the better price, so a pool earns its fee only on the trades it actually fills.

The largest pools

PoolSizeProvidersFeeFees, 7 daysAPY
XRP logoCRYPTO logoXRP/CRYPTO5.41M XRP7750.86%12 XRP0.0%
XRP logoRLUSD logoXRP/RLUSD3.69M XRP1,2040.20%3,024 XRP4.3%
CAVA logoUSDV logoCAVA/USDV3.29M XRP10.17%0 XRP0.0%
XRP logoFUZZY logoXRP/FUZZY1.17M XRP4370.63%4,229 XRP18.8%
XRP logoMAG logoXRP/MAG604.9K XRP1,9340.99%15 XRP0.1%
XRP logoXPM logoXRP/XPM472.8K XRP2,7810.75%50 XRP0.5%
XRP logoARMY logoXRP/ARMY459.6K XRP1830.00%0 XRP0.0%
XRP logoPHNIX logoXRP/PHNIX362.0K XRP4530.24%754 XRP10.9%
Size is not activity: a large pool with one provider and no fees is one wallet’s money, not a market. Pools ranked by what they paid: AMM pool rankings; every pool: AMM pools.

Two ways to deposit

  • Both assets, at the pool’s ratio. No fee: you add the two in the same proportion the pool already holds.
  • One asset. Allowed, but it counts as a swap of part of it plus a deposit of both, so the pool’s trading fee is charged (rippled).

You need a trust line for any token in the pool, and the LP token arrives on a line of its own; each holds 0.2 XRP of reserve.

What you earn, and who sets the fee

The fee is 0 to 1% of each trade the pool fills. Providers vote on it: the eight votes backed by the most LP tokens count, weighted by those tokens (rippled). xrpl.to shows a pool’s APY as its last 7 days of fees as a share of its size, times 52; it is last week’s pace, not a promise, and a small pool can show a huge figure from a few trades.

The auction slot

Each pool auctions a 24-hour slot: whoever holds it trades in that pool at a tenth of its fee, and can share that with up to four other accounts. The bid is paid in the pool’s LP tokens; part goes back to the previous holder for the time it had left, and the rest is burned, which raises every provider’s share of the pool (rippled). It is how arbitrage traders pay the providers for cheaper trades.

The risks

  • Impermanent loss. When the two prices move apart, the pool sells the rising asset and buys the falling one, so you end up with less than if you had simply held both (how much).
  • The token itself. In a pool of XRP and a token that collapses, sellers take the XRP out and leave the token behind: the providers end up holding it.
  • Clawback. An issuer that enabled clawback can take its token back out of a pool too (AMMClawback).

Questions

How do I provide liquidity on the XRP Ledger?
Open the pool’s page on xrpl.to, connect a wallet holding the pool’s assets and deposit either both at the pool’s ratio or just one. You receive LP tokens for your share and can withdraw at any time.
How much can I earn in an XRP Ledger AMM pool?
Across all pools, providers earned 22,878 XRP in the last 7 days on 28.98M XRP deposited. A pool’s APY is its last 7 days of fees as a share of its size, times 52, and it changes every week.
What are LP tokens?
A token the pool issues to providers for their share. Returning them withdraws that share of both assets. They can be sent and held like any other token.