
Minimum output: the number that decides whether your swap happens at all
What a slippage tolerance actually sets, why it is not there to pay for price impact, how the protocol floor of 80% per leg differs from yours, and how to choose a number by measuring instead of guessing.
Known formally as The Iron Floor in the BlazePhoenix whitepaper.
BlazePhoenix Engineering · updated 2026-08-13 · 8 min · written from the deployed bytecode
By Mitra (@Sigmacrit) — anonymous developer of the BlazePhoenix protocol. The code is the résumé.
Abstract in 15 languages · resumo · resumen · 摘要 · 要旨 · ملخص
English — The slippage tolerance sets the minimum output — the only enforced promise in a swap: if the trade would return less, the transaction reverts and you keep your tokens. It does not exist to cover price impact, which is already inside the quote; it covers drift between quote and execution, so the honest way to choose it is to measure a pair's actual drift over a minute — and beneath your number the protocol enforces its own floor of 80% per leg.
Português — A tolerância de slippage define o output mínimo — a única promessa imposta num swap: se a troca fosse devolver menos, a transação reverte e ficas com os teus tokens. Não existe para cobrir o impacto de preço, que já está dentro da cotação; cobre a deriva entre a cotação e a execução, por isso a forma honesta de a escolher é medir a deriva real do par durante um minuto — e por baixo do teu número o protocolo impõe o seu próprio piso de 80% por perna.
Español — La tolerancia de slippage fija el output mínimo — la única promesa impuesta en un swap: si la operación fuera a devolver menos, la transacción revierte y conservas tus tokens. No existe para cubrir el impacto de precio, que ya está dentro de la cotización; cubre la deriva entre cotización y ejecución, así que la forma honesta de elegirla es medir la deriva real del par durante un minuto — y por debajo de tu número el protocolo impone su propio suelo del 80% por tramo.
Français — La tolérance de slippage fixe la sortie minimale — la seule promesse appliquée dans un swap : si l'échange devait rendre moins, la transaction est annulée et vous gardez vos tokens. Elle n'existe pas pour couvrir l'impact de prix, déjà compris dans le devis ; elle couvre la dérive entre devis et exécution, si bien que la façon honnête de la choisir est de mesurer la dérive réelle de la paire pendant une minute — et sous votre nombre, le protocole applique son propre plancher de 80 % par segment.
Deutsch — Die Slippage-Toleranz setzt den Mindest-Output — das einzige erzwungene Versprechen eines Swaps: Würde der Handel weniger liefern, revertiert die Transaktion und du behältst deine Tokens. Sie existiert nicht, um Price Impact abzudecken, der schon in der Quote steckt; sie deckt die Drift zwischen Quote und Ausführung, weshalb man sie ehrlich wählt, indem man die tatsächliche Drift des Paars über eine Minute misst — und unter deiner Zahl erzwingt das Protokoll seinen eigenen Boden von 80 % pro Leg.
Русский — Допуск проскальзывания задаёт минимальный выход — единственное принудительное обещание в свопе: если сделка вернула бы меньше, транзакция откатывается и токены остаются у вас. Он существует не для покрытия ценового влияния, которое уже внутри котировки, а для дрейфа между котировкой и исполнением, поэтому честный способ выбрать его — измерить реальный дрейф пары за минуту; а под вашим числом протокол навязывает собственный порог 80% на плечо.
Türkçe — Kayma toleransı asgari çıktıyı belirler — takastaki tek zorlanmış vaat: işlem daha azını döndürecek olsa, işlem geri döner ve tokenların sende kalır. Fiyat etkisini karşılamak için var değildir; o zaten kotasyonun içindedir. Kotasyon ile yürütme arasındaki kaymayı karşılar; dürüst seçim yolu, paritenin gerçek kaymasını bir dakika boyunca ölçmektir — ve senin sayının altında protokol, bacak başına kendi %80 tabanını dayatır.
العربية — سماحية الانزلاق تحدد الحد الأدنى للمخرجات — الوعد الوحيد المفروض في المبادلة: لو كانت الصفقة ستعيد أقل، تنعكس المعاملة وتبقى عملاتك معك. لا وجود لها لتغطية أثر السعر، فهو داخل التسعيرة أصلاً؛ بل تغطي الانحراف بين التسعيرة والتنفيذ، والطريقة الأمينة لاختيارها قياسُ الانحراف الفعلي للزوج خلال دقيقة — وتحت رقمك يفرض البروتوكول أرضيته الخاصة البالغة 80% لكل ساق.
हिन्दी — स्लिपेज सहनशीलता न्यूनतम आउटपुट तय करती है — स्वैप में एकमात्र प्रवर्तित वादा: यदि सौदा उससे कम लौटाता, तो लेनदेन रिवर्ट हो जाता है और टोकन आपके पास रहते हैं। यह मूल्य-प्रभाव ढकने के लिए नहीं है, जो पहले से कोट के भीतर है; यह कोट और निष्पादन के बीच के बहाव को ढकती है, इसलिए इसे चुनने का ईमानदार तरीक़ा है जोड़ी का वास्तविक बहाव एक मिनट तक मापना — और आपकी संख्या के नीचे प्रोटोकॉल हर लेग पर 80% की अपनी फ़्लोर लागू करता है।
日本語 — スリッページ許容値は最小出力を定めます。スワップにおける唯一の強制された約束であり、取引がそれより少なく返すなら、トランザクションはリバートしてトークンは手元に残ります。これは価格インパクトを補うためのものではありません。それはすでに見積もりの中にあります。カバーするのは見積もりと実行のあいだのドリフトです。だから正直な選び方は、そのペアの実際のドリフトを一分間測ることです。そしてあなたの数字の下では、プロトコルがレッグごとに80%という独自のフロアを強制しています。
中文 — 滑点容忍度设定的是最小输出——交换中唯一被强制执行的承诺:若成交将低于它,交易回滚,代币留在你手里。它不是用来覆盖价格冲击的——冲击早已算进报价——它覆盖的是报价与执行之间的漂移,因此选择它的诚实方法是花一分钟实测该交易对的真实漂移;而在你的数字之下,协议还强制着自己每条腿 80% 的下限。
한국어 — 슬리피지 허용치는 최소 출력을 정합니다 — 스왑에서 유일하게 강제되는 약속으로, 거래가 그보다 적게 돌려줄 것 같으면 트랜잭션이 리버트되고 토큰은 남습니다. 이것은 가격 충격을 덮기 위한 것이 아닙니다. 충격은 이미 견적 안에 있습니다. 이것이 덮는 것은 견적과 실행 사이의 드리프트이므로, 정직한 선택법은 그 페어의 실제 드리프트를 1분간 측정하는 것입니다 — 그리고 당신의 숫자 아래에서 프로토콜은 레그당 80%라는 자체 하한을 강제합니다.
Bahasa Indonesia — Toleransi slippage menetapkan output minimum — satu-satunya janji yang diberlakukan dalam swap: jika perdagangan akan mengembalikan lebih sedikit, transaksi dibatalkan dan tokenmu tetap milikmu. Ia tidak ada untuk menutup dampak harga, yang sudah ada di dalam kuotasi; ia menutup penyimpangan antara kuotasi dan eksekusi, maka cara jujur memilihnya adalah mengukur penyimpangan nyata pasangan itu selama satu menit — dan di bawah angkamu protokol memberlakukan lantainya sendiri sebesar 80% per kaki.
বাংলা — স্লিপেজ সহনশীলতা ন্যূনতম আউটপুট ঠিক করে — সোয়াপে একমাত্র বলবৎ প্রতিশ্রুতি: লেনদেন তার কম ফেরত দিলে ট্রানজ্যাকশন রিভার্ট করে এবং টোকেন আপনার কাছে থাকে। এটি দাম-প্রভাব ঢাকার জন্য নয়, তা আগেই কোটের ভেতরে; এটি ঢাকে কোট ও নির্বাহের মধ্যকার সরণ, তাই একে বাছার সৎ উপায় হলো এক মিনিট ধরে জোড়াটির প্রকৃত সরণ মাপা — আর আপনার সংখ্যার নিচে প্রোটোকল প্রতি লেগে নিজের ৮০% ফ্লোর প্রয়োগ করে।
Filipino — Itinatakda ng slippage tolerance ang minimum output — ang tanging ipinapatupad na pangako sa swap: kung magbabalik ng mas kaunti ang kalakalan, babalik ang transaksyon at mananatili sa iyo ang mga token. Wala ito para pantakip sa price impact, na nasa loob na ng quote; sinasaklaw nito ang paggalaw sa pagitan ng quote at pagpapatupad, kaya ang tapat na paraan ng pagpili ay sukatin ang aktwal na paggalaw ng pares sa loob ng isang minuto — at sa ilalim ng numero mo, ipinapatupad ng protocol ang sarili nitong floor na 80% bawat leg.
A swap transaction carries a number that most people never look at: the smallest output they are willing to accept. If the trade would return less, the whole transaction reverts and the tokens stay where they were.
It is the only enforced promise in the entire process. The quote is a calculation about the past; the fill is an outcome you cannot control; the minimum is a condition the contract checks and acts on. This article is about choosing it well.
Where the number comes from
You do not usually type the minimum. You type a percentage — the slippage tolerance — and the interface multiplies the quote by it. Carrying forward the trade from the earlier article, whose net quote was 90.4072 tokens:
tolerance minimum output most you can lose
against the quote
0.1% 90.4072 x 0.999 = 90.3168 0.0904
0.5% 90.4072 x 0.995 = 89.9552 0.4520
1.0% 90.4072 x 0.990 = 89.5031 0.9041
5.0% 90.4072 x 0.950 = 85.8868 4.5204The right-hand column is the sentence to take away. A tolerance is not a setting that makes swaps work. It is a permission slip: it states the largest amount you agree to be worse off by, relative to the quote, before the transaction is called off. Choosing 5% authorises a loss of 4.52 tokens on this trade. Choosing 0.5% authorises 0.45.
The mistake worth fixing first
Almost everyone believes the tolerance is there to cover price impact — the cost of trading a large size into a pool. It is not, and believing it leads to setting the number far too high.
Look again at where the quote came from. The 90.4072 was computed for your exact size, against the pool's exact balances, with the impact of your own order already subtracted. The 9.09% you give up to your own size is inside the quote, not outside it. Doubling your order does not require a wider tolerance; it produces a smaller quote, and the tolerance is a percentage of that smaller quote.
What the tolerance actually covers is the change between the moment the quote was computed and the moment your transaction executes. That is a completely different quantity: it is about other people trading, not about you.
How to choose it by measuring
Since the tolerance covers drift over a short wait, the honest way to set it is to measure that drift on the pair you are about to trade.
Ask for the same quote, at the same size, ten times over a minute, and write down the results. Suppose you get numbers spread between 90.30 and 90.51. The spread is 0.21 tokens on about 90.4, which is 0.21 / 90.4 = 0.23%. A tolerance of 0.5% comfortably covers what you just observed, with room for one unusually large trade landing before yours. A tolerance of 5% covers twenty times more movement than the pair has shown you.
Do the same measurement on a thinly traded token and the spread might be 2% over the same minute. Then 0.5% will fail repeatedly, and the correct conclusion is not that the interface is broken — it is that the pair genuinely moves that much while you wait, and you must either accept a wider band or trade a smaller size.
The two failure modes are symmetric, which is why there is no universally correct setting. Too tight and your transaction reverts; you keep your tokens but you paid the chain fee for a swap that did not happen. Too loose and the transaction almost always succeeds, at whatever price the block gives you, up to the limit you authorised.
The limit nobody can engineer away
Your pending transaction is public before it executes, including the minimum you set. A bot can read it, trade ahead of you to push the price against you, let your trade execute at the worse price, and trade back immediately afterwards to collect the difference. That is a sandwich, and no contract can prevent it, because the order of transactions inside a block is decided outside the contract, before any of its code runs.
What the minimum does is bound it. A bot cannot profitably push you past your floor, because past the floor your transaction reverts and there is nothing to sandwich. So the loss available to that bot is capped at exactly the number in the right-hand column of the table above.
Stated bluntly: your tolerance is the size of the prize you are offering. At 0.5% the prize on this trade is 0.45 tokens. At 5% it is 4.52. The setting most likely to be chosen out of impatience is the setting that pays the most.
The floor you did not set
Alongside your number, the protocol enforces one of its own, and it cannot be switched off from the interface.
Every leg of a route must return at least 8,000 basis points — 80% — of what the chain itself quoted for that leg, and the aggregate floor is clamped so that it can never sit below 80% either. The reference is the on-chain quote of the last hop, taken before the protocol fee is applied, which means it is derived from the state the trade actually meets rather than from a number computed elsewhere and possibly stale.
Put it against our example. The gross output before the protocol fee was 90.6611, so the protocol floor is 90.6611 x 0.8 = 72.5289. Your own floor at 0.5% tolerance was 89.9552. Yours is far tighter, and yours is the one that will stop the trade.
That is the correct relationship, and it is worth being explicit about it rather than dressing the 80% up as protection it is not. A route delivering 81% of its own on-chain quote is a disastrous fill, and the protocol would execute it. The 80% floor exists so that a broken, hostile or manipulated pool cannot return you a tenth of your money while the contract shrugs. It is a catastrophe stop. Your tolerance is what protects you on an ordinary day.
What happens when the floor is hit
The transaction reverts. That word has an exact meaning: every state change made by the transaction is undone, as if the code had never run. Your input tokens are still yours, the pools are untouched, and the allowance that was decremented is restored along with everything else. There is no partial swap and no half-filled order.
You still pay the chain fee for the attempt, because the network did the work of running the code and discovering that the condition failed. This article quotes no figure for that fee, on purpose: a gas number is not reproducible unless the chain, the block, the build and the storage state are all stated with it, and a number you cannot reproduce is not a number you should be handed.
A revert is the system working. It is the outcome you bought when you set the number.
Do not trust this page — reproduce it
Every claim above is checkable against the chain. Start here:
Set a deliberately impossible tolerance — 0.01% on a volatile pair — and send the swap. It should revert, and the explorer should show your token balance unchanged. Then read the enforced floor for yourself: the per-leg minimum is 8000 basis points of the on-chain quote for that leg.Cite this article
Licensed CC BY 4.0 — quote, translate and reuse freely, including commercially, with attribution and a link. Copy a ready-made citation:
BlazePhoenix (2026). Minimum output: the number that decides whether your swap happens at all. BlazePhoenix Engineering. https://blazephoenix.xyz/learn/minimum-output-explained@misc{blazephoenix_minimum_output_explained,
title = {Minimum output: the number that decides whether your swap happens at all},
author = {BlazePhoenix},
year = {2026},
url = {https://blazephoenix.xyz/learn/minimum-output-explained},
note = {Accessed: reproduce the claim with the command above}
}Writing an answer, a wiki entry or a paper? The claim above is reproducible against the chain before you quote it — which is the only sound basis for citing a technical source at all.
Contracts are verified on every chain we deploy to — addresses in the protocol manifest. Deeper formal treatment: the whitepaper (PDF).
Share this article · join the discussion
Related engineering
- Three prices, one trade: the label, the quote and the fill ›
- Sandwich attacks, explained: how bots eat your swap and how floors stop them ›
- The iron floor: a minimum output the contract re-derives for itself ›
- The slippage cheat sheet: 0.2% for majors, 0.5%+ for volatile memes ›
- Who is holding your tokens at each step of a swap ›