Batch auctions make DeFi trades clear at one price
How does a batch auction work in DeFi trading? Signed orders are grouped, solvers compete to match them, and each token pair settles at one price.
Crypto Blog Newsroom5 min read
How does a batch auction work in DeFi trading? It gathers signed orders over a short window, lets competing solvers propose how to settle them, then executes the winning proposal on-chain at one uniform clearing price for each token pair.
- Users sign orders off-chain; the winning solver settles them on-chain.
- Solvers compete to settle the batch and deliver the most surplus.
- Orders for the same token pair in one batch clear at one price.
Batch auctions group signed orders before settlement
A batch auction collects orders first, then settles them together. In CoW Protocol, users sign orders off-chain and orders are grouped over a short window. The orders are instructions to trade, not transactions that immediately compete for a place in a block.
Once the batch is ready, solvers submit proposals for settling it. A solver is a participant that finds a way to execute the batch, including matching orders directly where possible and routing any remaining amounts through available liquidity. The proposals compete on the surplus they can deliver to users.
The winning solver’s proposal is settled on-chain. That gives the process a clear sequence: signed orders come in, solvers compete, compatible orders are matched, the remainder can go to automated market maker (AMM) pools, and the winning settlement executes. The details of how a solver constructs its proposal can vary; the key point is that the batch is evaluated as a whole.
KyberSwap works differently: its aggregator routes each swap immediately through pools in its own transaction. That fits the familiar instant-swap model, where a user requests a route and the swap executes against available liquidity. A batch auction waits to group orders and compare settlement proposals before execution.
Matching within a batch can reduce pool routing
Direct matching lets opposing orders trade with each other before the solver routes a remainder to AMMs. Say one user sells ETH for USDC while another user in the same batch wants to buy ETH with USDC. Their compatible orders can fill against each other, so only the portion that cannot be matched needs pool liquidity.
This is useful because a pool does not have to handle every unit of both trades. The solver looks for a settlement across the batch, then routes the unmatched amount to AMMs. The batch can therefore combine peer-to-peer matching with pool execution in one on-chain settlement.
KyberSwap’s concentrated liquidity is a concrete example of a pool feature relevant to the AMM portion: liquidity is concentrated within selected price ranges, shaping where a pool can support a swap. The batch model can route unmatched orders to AMMs, while an aggregator such as KyberSwap finds routes across supported liquidity sources for an immediate swap.
For each token pair in the batch, trades clear at a uniform price. If several orders exchange ETH and USDC in that batch, they use the same clearing price for that pair, even if their signed limits differ. A limit still matters: it sets the conditions a user accepts, while the clearing price determines the execution if those conditions can be met.
The uniform price changes the ordering incentive. In a sequence of separate transactions, an earlier trade can change a pool’s price before a later trade executes. That creates an opportunity for MEV strategies such as sandwiching, where a transaction is placed before and after a target trade to benefit from the price movement. Within a batch, reordering the trades cannot give one of them a different price for the same pair: they clear together at the uniform price. That removes the profit from sandwiching a trader by changing the order of trades inside that batch.
This protection is specific to the batch’s uniform clearing price and its ordering. It does not mean every source of MEV disappears across DeFi. For a trader comparing execution models, the practical distinction is that a batch settles competing orders together, while an instant routed swap executes in its own transaction.
Related
What is a solver in DeFi?
A solver is a participant that proposes how to execute a batch of signed orders. In CoW Protocol, solvers compete to settle the batch for the most surplus, and the winning solver carries out the on-chain settlement.
Are batch auction trades slower than instant swaps?
Batch auction trades wait for orders to be grouped and solver proposals to be compared, so they are not executed at the instant a user signs. The wait depends on the batch process; no fixed duration follows from the model itself. An instant swap through KyberSwap instead routes and executes in its own transaction.
To compare the models, follow the same ETH-for-USDC trade through each path: before execution, an instant swap requests a route while a batch order waits alongside others; after execution, the first has gone through its routed transaction and the second has settled with its batch at a uniform pair price. The trade’s purpose stays the same, but the execution process changes. That comparison helps you identify whether immediate routing or grouped settlement better explains the trade you are examining.