Skip to main content
Skip to content
Crypto Trading

Cancelled DEX Orders in 2027: Which Signature or Approval Can Still Move Your Tokens?

Cancelling a CoW Protocol order is not the same as revoking ERC-20 or Permit2 allowances. The DN cancellation-state map tracks off-chain requests, on-chain invalidation and settlement race risk.

Strong red angular geometric fragments evoking cancellation of a signed exchange order
Reading options: audio, text size & sections

Decentralised News · 2027 planning edition · Sources verified 24 November 2026

What Matters

CoW Protocol offchain cancellation has a documented race; onchain cancellation requires confirmed invalidation. Neither action automatically proves that a separate ERC-20 or Permit2 token spending allowance was revoked.

The Signal

The CoW Orderbook API and user guide explicitly distinguish cancellation requested, processed and actual settled-order state.

DN Alpha Thesis

Keep the signed order UID, cancel status, settlement event and spender allowance as separate records. A clicked button is not settlement finality.

DN CoW Signed Order Cancellation State Checker

Declare the documented status of one signed order and its separate token approval. No actual orders or approvals are queried.

Cancellation requested offchain is not confirmed completed. Actual settlement and token allowance remain unknown.

No wallet data collected and no signed cancellation, transaction, or revocation is submitted.

A cancelled interface row is not necessarily settled cancellation

A trader signs a decentralized limit order and later clicks Cancel. The order disappears from the most prominent list in the interface, but an integrator still holds a copy of the old signature. Could it settle? The answer depends on whether the protocol considers the specific signed order invalid, whether a solver was already executing it and whether a cancellation has actually taken effect.

Offchain orderbook APIs can process a cancellation request without an Ethereum transaction, while onchain settlement contracts can use an explicit invalidation transaction. Neither process should be confused with granting or revoking a token spending allowance. The user may still have a valid ERC-20 approval even after a particular signed exchange order is no longer executable.

CoW explicitly documents an offchain cancellation race

CoW Protocol’s limit-order guide allows offchain cancellation through its application. The user requests cancellation without paying gas, but the documentation warns that the order can still be matched between the request and the point at which the offchain service processes it. A click therefore shows intent, not immediate finality.

The protocol’s Orderbook API contains explicit cancellation endpoints for individual order UIDs and bulk cancellation. An integration must inspect the order’s authoritative status afterward, not merely assume that a successful HTTP request proves there was no existing in-flight settlement.

Onchain invalidation is a different control

The same CoW help page offers an onchain cancellation path for users who do not want to rely solely on the API’s offchain cancellation processing. That requires an Ethereum transaction and gas. The documentation still warns that an order can execute before the invalidation transaction has been confirmed. The onchain route therefore narrows one trust assumption, but it is not a time machine that reverses any execution already completed.

A robust status model separates cancellation submitted, onchain cancellation transaction mined and accepted, and original order actually settled. A pending cancellation transaction does not prove a signed order is unexecutable. Where a confirmed invalidation happened only after the original fill, it cannot undo the fill.

The order UID and signed digest establish the scope

CoW signing documentation says the signed order digest binds the order’s fields and the EIP-712 domain for a particular chain and settlement contract. The unique order identifier is therefore narrower than a blanket spending authorization. Canceling one UID should be understood as an instruction affecting that named order, not every order using the same token approval.

The app should preserve the original UID, signer, sell/buy assets, limits, validity deadline, receiver and fee fields before making a status comparison. A spoofed cancellation notice or mismatched UID cannot prove that the intended signed order was invalidated.

The ERC-20 allowance can outlive the order

Tokens often require an ERC-20 approval or a Permit2 allowance before a DEX settlement contract can transfer them. These permissions authorize a spender and amount, sometimes for a deadline. A signed CoW order is an additional authorization with its own price, order expiry and recipient constraints. Invalidating that one order does not universally reset the approved token amount to zero.

DN already publishes a full permissions revocation index. This article is different: it follows the execution lifecycle of an individual signed DEX order and identifies the remaining allowance only as a distinct fact. A user worried about future arbitrary pulls must audit spender permissions separately.

A signature can expire even without a cancellation

A signed order can contain an expiration time. Passing that deadline changes whether it may be matched under the relevant protocol rules, but it does not necessarily eliminate a separate unlimited ERC-20 approval. Conversely, an unexpired order may be canceled by a valid onchain invalidation or processed offchain cancellation before its original deadline. The order’s status, signature deadline and spender approval are three different variables.

For an agent that handles several open orders, a stale private cache should not be the authority. Poll the authenticated protocol order API, reconcile wallet transactions and order settlement events, and reject assumptions that a click on one application’s activity feed is definitive for every other solver or relay.

In-flight settlement is a critical edge case

CoW’s swap tutorial explicitly says cancellations are not immediate and may lose a race to settlement. This is especially important around block confirmation: an order could have entered a solver’s winning solution before the user requested cancellation, while the final settlement transaction is still being broadcast or mined.

The correct accounting answer comes from the final order record and token transfer receipts. If the order executed before cancellation, the user’s net sell-token debit and buy-token credit still have to be reconciled. The cancellation event is not a substitute for a trade reversal or cash refund.

A hypothetical cancellation timeline

Imagine a signed order submitted at 10:00, a user clicks offchain Cancel at 10:05, and the API confirms cancellation at 10:05:04. A solver might have included the order in a pending settlement at 10:05:02. The later screen could show cancellation intent while a settlement still makes it onchain. Under the documented race warning, a local UI alone cannot determine which state prevailed.

The DN state checker deliberately refuses to promise safety from a ‘requested’ cancellation. It asks whether the authoritative order is confirmed canceled or settled, whether a separate onchain invalidation is confirmed, and whether spender approvals remain active. Its output is an evidence-state label, not a wallet action or cryptographic verification.

How to build an order-specific revocation record

  1. Identify the exact protocol chain, order UID, signer and expiry.
  2. Capture the signed sell amount, limit price and buy token.
  3. Record offchain cancellation request and actual API acknowledgement separately.
  4. For onchain cancellation, preserve transaction hash and confirmed inclusion.
  5. Read the final order state and any onchain executed token transfers.
  6. Check the ERC-20 or Permit2 approval independently, without conflating it with the order UID.
  7. Preserve unresolved in-flight orders until settlement or cancellation is authoritative.

That lifecycle record can keep a trading agent from restarting old signed orders or falsely declaring a position flat after a cancellation click.

Methodology, sources and disclosure

Official CoW limit order cancellation, Orderbook API and signed order schemes reviewed 24 November 2026. This is a 2027 research edition, not a claim about subsequent rule changes. No signature validity or live execution status is measured.

Disclosure: DN does not recommend a trading or revocation transaction and has no economic interest in this status checker. Corrections: press@decentralised.news.

Frequently asked questions

Does clicking Cancel immediately invalidate a CoW order?

Not necessarily. CoW documents a race where the order can match before an offchain cancellation finishes.

Is onchain cancellation always fast enough?

No. The cancellation transaction can confirm after an order has already settled.

Does canceling the order also revoke ERC-20 allowance?

No general rule supports that. The order authorization and token spender allowance are separate controls.

Can an expired signed order still have an active token allowance?

Yes. The order’s validity time and the token’s allowance are distinct.

Can this tool invalidate a signature?

No. It is an offline documentary checker that sends no transaction or cancellation message.

Related research

Our Products

Tokenized Trillions bookBlockchain Applied book

Bestseller

Best Seller Books

Follow us

Get the most talked about stories directly in your inbox

Join the Decentralised News briefing for independent crypto, DeFi and AI analysis. No spam, unsubscribe anytime.