Auction parameters
startAmount is the best-for-swapper / worst-for-filler output; endAmount is the swapper's floor. The decayed amount moves linearly between them as the auction runs.
Current state
| Metric | Value |
|---|
Decay curve (linear segment)
Same startAmount/endAmount/duration above, swept across the auction — this is the price a filler would need to beat at each moment to win the fill.
| Elapsed (% of duration) | Elapsed (s) | Decayed output | Filler would fill? |
|---|
A single-order auction, not a batch
UniswapX doesn't route your order through one AMM pool and it doesn't batch you with other orders the way CoW Protocol does. Per Uniswap's own documentation, your signed order carries a startAmount (the output you'd get if filled instantly — deliberately generous, so no rational filler takes it immediately) and an endAmount (your floor, the worst price you've agreed to accept before the order expires). Onchain, the real decay curve is defined by NonlinearDutchDecayLib, which supports multiple intermediate decay points so the price can bend across a handful of segments rather than following one straight line — but the common case, and what this calculator models, is a single linear segment: decayed = startAmount − (startAmount − endAmount) × elapsed ÷ duration, moving block by block over roughly a minute from decay start to expiry.
Independent fillers watch every open order and race to be first to submit a profitable fill — a filler wins the moment the decayed amount drops to or below whatever output they can actually source elsewhere (their own execution route, e.g. through a private market maker or an AMM pool) and still turn a profit. That competition, not a fixed price, is what actually clears the order. Crucially, UniswapX itself takes no percentage fee from the swapper — it's gas-free to submit, gas-free on a failed fill, and the swapper's entire cost is just where along the curve the fill happens to land.
How to use this calculator
- Enter the order's startAmount and endAmount — the output range from Uniswap's quote/order data.
- Enter the auction duration (Uniswap's docs put typical decay-to-expiry around 60 seconds) and how many seconds have elapsed.
- Enter a filler's own achievable output to see at exactly what elapsed time the order becomes profitable for them to fill.
- Read the decayed output and the scenario table across the full auction.