Start typing to search this publication.
cnews3
Open menu

Subscribe to cnews3

Get new posts delivered straight to your inbox.

How Does CoW Swap Get a Better Price? Batch Auctions

cnews3
2 min read

CoW Swap usually matches or beats a single Uniswap route because competing solvers can combine direct matches with liquidity from several pools. For a small trade in a deep pool, the difference can be negligible.

  • Solvers compete to return the most surplus to traders.

  • A Coincidence of Wants can settle directly between traders, avoiding AMM costs on the matched amount.

  • Solvers can split the remaining amount across liquidity sources.

A trader signs an order stating what they want to exchange and the worst price they will accept. That intent joins other orders in a batch. Solvers propose settlements using opposite orders, liquidity pools, or both. The solution returning the most surplus to users wins. Trades in the batch settle at a uniform price that meets or improves on each trader’s limit. A single Uniswap route draws on one venue’s liquidity; the batch auction can combine direct matches with routes through multiple venues.

CoW Swap is the decentralized exchange interface for trading through those signed intents and solver-run batch auctions. Use cowswap when you want solver competition to seek a better execution than a single DEX route.

The Matched Share Determines Much of the Gain

CoW’s price advantage grows when more of an order can settle directly against an opposite order. Take a USDC→WETH trade that partly matches someone selling WETH for USDC. That portion exchanges peer-to-peer at the batch price. It avoids the AMM liquidity provider fee and the pool price impact that trading that portion through an AMM would cause.

The unmatched USDC still needs external liquidity. A solver might route some through Uniswap and some through SushiSwap if that mix returns more WETH than one route. When the direct match covers only a small share, most of the order still encounters AMM fees and price impact. When it covers a large share, more of those costs disappear. Route splitting can improve the remainder, depending on where liquidity is available.

For an ordinary swap, compare the final output for the same input amount. A limit order states the worst acceptable price, while a favorable batch settlement can return more. With a TWAP order, each portion trades at a different time and can meet different opposing orders, so its potential improvement varies from batch to batch.

When Does a Deep Pool Close the Gap?

On a small trade against a deep pool, the batch auction may offer little improvement. The direct route causes little price impact, and a batch with few matching opposite orders still sends most of the trade through AMMs. The two execution prices can therefore be close even though solvers have more routes to consider.

What is surplus on cowswap?

For a sell order, surplus is the output received above the minimum the trader agreed to accept. In a CoW batch, direct matching and better liquidity routes can create that improvement; solvers compete to return the most surplus to users.

Does cowswap split orders across DEXs?

Yes. A solver can split the amount needing external liquidity across Uniswap, SushiSwap, and other pools when the combined settlement gives users more. The directly matched portion needs no DEX route.

Keep the input amount fixed when comparing a batch result with a direct Uniswap route. On a small, deep pair, that makes a tiny price difference easy to spot and saves time chasing it.

Subscribe to cnews3