Why Do Swap Gas Costs Vary Between Settlement Batches?
Gas costs vary because each settlement batch contains a different mix of orders and on-chain actions, and it executes under that moment’s network conditions. A solver pays to submit the settlement transaction, so a batch that needs extra liquidity calls or runs during a busy period can cost more than one that matches trades directly. What determines a batch’s gas cost? A batch is a group of eligible orders that solvers try to settle together. They build candidate solutions, then compete to submit a valid one; the winning settlement may combine trades between users with trades routed through on-chain liquidity. For someone used to a centralised exchange, the key difference is that the exchange’s internal matching engine is replaced by this off-chain competition and on-chain execution. With the cowswap interface , you sign an order from your wallet rather than submitting a transaction to execute the swap yourself. A solver submits the settlement and pays its gas. That means you generally...