Flag · Building on the ledger

tfOneAssetLPToken

In plain words

tfOneAssetLPToken is a flag on AMMDeposit and AMMWithdraw. It works with one asset and an exact amount of LP Tokens.

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

On AMMDeposit

You deposit up to the amount you give of one asset, so that you receive exactly the LP Tokens you asked for, after fees. You provide Amount and LPTokenOut.

On AMMWithdraw

You withdraw up to the amount you give of one asset, by returning up to the LP Tokens you specify. You provide Amount and LPTokenIn.

Value

On both transactions its value is 0x00200000, which is 2097152.

In the source's words
Deposit up to the specified amount of one asset, so that you receive exactly the specified amount of LP Tokens in return (after fees).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.