kendra-koepp

How to Check a cowswap Order: Expired or Partially Filled

A cowswap order marked Expired reached its validTo deadline. Partially Filled means only some of its requested amount traded. A limit order can be both: part may execute before the deadline, while the rest expires. Status tells you whether the order can still trade; the filled amount tells you what actually traded.

How Can You Confirm What Traded Before the Order Expired?

The filled amount in CoW Explorer is the starting point. Open the order using its order UID, or find it with your wallet address. Read the status, filled amount and executed price together. A zero filled amount means nothing traded. A nonzero amount means a trade occurred, even when the final status says Expired.

  • Order UID or wallet address: Use it to find the right order rather than relying on a remembered token pair.
  • Requested and filled amounts: Their difference is the portion that did not trade.
  • Wallet balances: Compare the sell token spent and buy token received with the recorded fill.

CoW Swap accepts signed trade requests that solvers try to execute in batch auctions. Once the filled amount matches your wallet, return to cowswap to place a fresh order for the remainder at terms you still want.

An expired order with no fill commonly means the trade never became executable before validTo. For a limit order, the market may never have reached your price. Even a brief touch of that price may leave too little room for execution costs, as CoW’s limit-order explanation describes. The sign is zero filled amount. Decide whether to use a different limit price or expiry before placing another order.

A market swap can also expire unfilled when its slippage tolerance is too tight for the available price. Slippage is the price movement you agreed to accept between signing and execution. Market swaps are fill-or-kill: the whole amount executes or none does. A zero fill on one of these orders is not a partial trade. Review the current quote and your acceptable price before trying again.

A partial fill points to a different cause. A limit order set as partially fillable lets solvers execute less than its full amount when they find liquidity at your price for only part. Say you offered to sell your full token balance, but only some traded before expiry. The executed amount records the portion sold; the unfilled ERC-20 tokens stay in your wallet. Use the executed price to see what the filled portion received, then size any new order from the remaining balance.

This is why an Expired label and a partial fill can appear together. The order’s deadline and its executed amount are tracked separately. Expiry stops further fills on that order; it does not undo earlier ones. Compare the filled sell amount with the reduction in your sell-token balance, then compare the received tokens with the recorded execution. When those figures agree, you know what traded and what remains.

For a TWAP order, inspect each part separately. A TWAP splits a trade into orders scheduled over time, and each part has its own status. One part can fill while another expires. Add the filled amounts across the parts before deciding how much of the overall trade remains.

Eth-flow handles unfilled ETH differently from an unfilled ERC-20 order: its ETH is refunded. If the status, recorded fills and wallet balances still disagree, inspect the settlement or refund transaction and the token transfers for that order. Account for other wallet transactions made in the meantime. Place the remainder only after the balances match the fills you found.

Does an expired cowswap order cost anything?

An expired order with zero fill has no executed trade. A separate on-chain action, such as a token approval or Eth-flow deposit, can still use gas. For an order that partly filled, assess the executed portion rather than treating the Expired label as a record of zero activity.

Why didn't my cowswap limit order fill at my price?

A limit price sets the worst price you accept; it does not guarantee a fill when the market touches it. Solvers still need an executable trade at that price or better, with enough room to cover execution costs. If only part could execute, the rest may remain until validTo and then expire.