UniswapX’s Dutch-auction order flow
How UniswapX works: you sign a Permit2 order whose price decays; fillers compete to execute it, pay the gas and choose a route at fill time.
By Blockchain Today Editorial5 min read
UniswapX works by having a trader sign an off-chain order with a decaying price, then letting competing fillers execute it when they can make the trade work. The filler submits the on-chain transaction and pays its gas, while choosing a route at fill time.
Launched on Ethereum mainnet in 2023, UniswapX changes where a swap’s execution decision happens. In a conventional Uniswap swap, the trader submits a transaction with a route and minimum output; with UniswapX, the trader signs an intent and a filler finds a way to execute it. For a different execution model, cowswap groups signed intents in batch auctions; background on the CoW token adds context on the wider CoW ecosystem around that alternative.
How does a UniswapX order move from signature to fill?
A UniswapX order starts as a signed Dutch order that specifies the tokens, amounts, price bounds and expiry. Permit2 provides the signature-based authorization for token transfer, and the UniswapX reactor checks the order’s conditions when a filler submits it. As the UniswapX whitepaper explains, fillers can source liquidity from on-chain venues or other sources, then settle the order on-chain.
The price moves over time from the order’s start price toward its minimum acceptable output (or maximum input). This decay makes the order a competition among fillers: an early fill may leave more value for the trader, while a later fill offers a filler more room to cover costs and earn a margin.
- Signed order: The trader authorizes the exact trade parameters with Permit2, rather than submitting the swap transaction personally.
- Exclusive window: One quoting filler gets the first right to fill during a short exclusivity period. That quote sets the auction’s starting point; it does not fix the execution price.
- Open decay: If the exclusive filler passes, the order opens to other fillers and its price continues to decay. Competition then determines whether and when someone takes it.
- Settlement: A winning filler submits the fill to the reactor, which verifies the signed conditions. The trader receives the output tokens, and the filler pays the transaction gas.
The exclusivity window matters because it can give the first quoter time to act on its price, but the quote is only the start of the process. If that filler does not fill, the open auction gives other fillers a chance at a progressively less demanding price. The trader’s signed minimum remains the boundary: the order cannot settle below its authorized terms. Uniswap’s documentation describes this lifecycle as exclusive quoting followed by open competition.
What does a fill look like, and when does the model help?
Take a trader selling a liquid token for ETH. They sign an order with a generous starting output and a lower minimum, then leave fillers to compete as the price decays. A filler may source ETH from an AMM, another venue or available order flow; it submits the fill only when the resulting price leaves enough room to cover gas and its margin. The trader gets ETH, and the filler handles the transaction cost.
Now keep that same trade unchanged but make filler competition the deciding factor. With several active fillers watching the pair, one can accept a smaller margin to win the order, so the trader has a better chance of filling closer to the starting price. With few active fillers on that same pair, there is less pressure to improve the offer; the order may fill later at a worse point in its decay or fall back to classic routing. This is why the model is strongest on liquid pairs with active fillers.
UniswapX’s practical gains are gas paid by the filler, failed fills that cost the swapper nothing, and no public mempool exposure for the signed order before submission. Route selection also shifts to fill time, which gives fillers room to seek liquidity across sources. The trade-off is that a filler’s gas and profit margin sit inside the execution price. On a thin pair, weak competition can make that embedded margin more consequential.
The batch-auction alternative works differently: it matches opposing orders and settles them together at uniform prices, while UniswapX fills orders one by one. Batch settlement can suit a trader whose priority is netting with other order flow; UniswapX can suit one who values an individual order being competed for and routed at fill time. The execution model, and the amount of active competition for a particular pair, are the deciding signals to watch.
Related
Is UniswapX safer than a normal Uniswap swap?
UniswapX changes the swap’s exposure by keeping the signed order out of the public mempool until a filler submits it, reducing the opportunity for public transaction observers to react before execution. The reactor also checks that the fill meets the signed conditions. Traders still authorize token movement through Permit2, so the scope and expiry of that signature remain important parts of the order.
What is a filler in UniswapX?
A filler is a searcher, market maker or other agent that competes to execute signed UniswapX orders. It sources liquidity, submits the winning order on-chain, pays gas, and earns whatever margin the execution price leaves after its costs.