Amendment · Trading and DeFi

fixFillOrKillSwitched on 11 April 2024

In plain words

This amendment lets fill or kill offers succeed when the price on offer is better than the price asked for.

Written by zerps in plain words, from the source linked below.
Switched on
11 April 2024
In ledger
87,236,609
First in server version
2.0.0
Amendment ID
3318EA0CF0755AF15DAC19F2B5C5BCBFF4B78BDD57609ACCAABE2C41309B051A

What it changes

An offer with the tfFillOrKill flag set and tfSell not set used to fail if its exchange rate was better than, but not exactly equal to, the order book rate. The payment engine now handles this case and lets the offers cross. It builds on the FlowCross amendment and has no effect unless FlowCross is enabled.

Where it stands

Switched on 11 April 2024, in ledger 87,236,609. The first server version to carry it was 2.0.0.

In the source's words
This amendment fixes an issue introduced in the FlowCross amendment. Offers with the tfFillOrKill flag set and tfSell not set will fail if the exchange rate on the offer is better than, but doesn't exactly match, the order book rate.xrpl.org

Source: xrpl.org, The transaction that switched it on, Dates and votes: XRP Ledger validator data service. 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.