---
title: "Limit Order (DeFi) — definition | Nuri Glossary"
description: "An on-chain order that fills only at your price or better."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/limit-order-defi"
---

# Limit Order (DeFi)

An on-chain order that fills only at your price or better.

## Basically

You choose the price for a token swap. The trade happens only if the market meets your terms.

## Key Takeaways

- A DeFi limit order lets you set a target price for a token swap and wait for execution, unlike instant AMM swaps that fill at the current market price with slippage tolerance as the only control.
- Keepers, solvers, or fillers monitor orders and submit on-chain transactions when conditions are met, earning the spread between the execution price and limit price as compensation.
- DeFi limit orders are non-custodial and often gasless for users, unlike centralised exchange limit orders, but execution is never guaranteed because the market price, liquidity, and keeper profitability must all align for a fill.

## What Is a Limit Order in DeFi?

A limit order in decentralised finance is an instruction to swap one token for another at a specified price or better. The order waits until the market reaches the trader's target instead of executing immediately against DEX liquidity at the current price. No trade occurs if the price never reaches that level before the order expires.
Limit orders come directly from traditional finance, where they have been a staple of stock and forex trading for decades. The DeFi version adapts the same idea to on-chain environments, but the mechanics differ substantially because blockchains cannot initiate transactions on their own. External actors must monitor conditions and trigger execution, creating a fundamentally different trust and execution model from the centralised matching engines used by exchanges like Binance or Coinbase.
The maker is the user who signs the order and sets the price and conditions. The taker is an incentivised third party that monitors orders, finds optimal execution paths, and submits the fill transaction on-chain.

## How It Works

Most DeFi limit order protocols follow an off-chain relay, on-chain settlement model. The user never submits a transaction to create the order, making order placement gasless:
Token approvals are handled through standard approve() calls, EIP-2612 permit() signatures, or Uniswap's Permit2 contract. Some protocols like 1inch embed permit signatures directly in the order data for a fully gasless experience.

## EIP-712 Order Signing

DeFi limit orders use EIP-712 structured data signatures rather than raw transaction signing. EIP-712 provides human-readable order details in wallet prompts, showing the token, amount, price, and expiration clearly, and domain separation that prevents cross-chain or cross-protocol replay attacks. A typical signed order includes:

## Major Implementations

Several protocols have developed distinct approaches to DeFi limit orders. Their approaches involve different tradeoffs around execution quality, MEV protection, and decentralisation:

## Batch Auctions: CoW Protocol

CoW Protocol collects signed user intents off-chain for roughly 30 seconds, then bundles them into a batch. Competing solvers, whitelisted by CoW DAO and bonded against misconduct, bid to settle the batch. The winning criterion is maximum surplus: whichever solver delivers the most value above users' minimum signed prices wins.
Solvers first attempt to match opposing orders peer-to-peer at a uniform batch clearing price, a mechanism called Coincidence of Wants. This bypasses AMM liquidity entirely, eliminating AMM-related MEV, while unmatched volume spills to on-chain liquidity sources. All trades for the same pair in a batch settle at the same price, making transaction ordering irrelevant and structurally preventing sandwich attacks.

## Range Orders: Uniswap V3

Uniswap V3's concentrated liquidity enables a limit-order-like mechanism. A user provides a single asset as liquidity within a narrow price range outside the current pool price. The position flips entirely to the other token, plus any accrued trading fees, when the price crosses through that range.
Range order makers earn LP fees during execution, unlike traditional limit orders. The position reverts to the original token if the price reverses back before the user withdraws. Active monitoring is required, so a range order is not a true set-and-forget limit order.

## The Keeper/Solver/Filler Model

DeFi limit orders depend on external actors to trigger execution because blockchains cannot initiate transactions autonomously. These actors go by different names depending on the protocol:
Keepers, solvers, and fillers earn compensation through the spread between the execution price and the user's limit price, or through explicit protocol rewards. They also bear the gas costs of on-chain settlement.

## DeFi vs. CEX Limit Orders

Custody is the most significant difference. On a centralised exchange, funds are deposited into the exchange's custody before any order can be placed, and the exchange operates a matching engine that guarantees execution the moment price is hit, assuming sufficient counterparty orders. DeFi limit orders keep funds in the user's wallet until the fill transaction executes, eliminating counterparty risk but introducing new tradeoffs.

## Price-Targeted Accumulation

Traders use DeFi limit orders to accumulate tokens at specific price levels without watching markets continuously. A user who wants to buy ETH at $2,000 can place a limit order selling USDC for WETH at that rate. The swap executes automatically if ETH drops to $2,000 and a keeper or solver finds sufficient liquidity.

## Take-Profit and Stop-Loss

Conditional order types built on limit order infrastructure let DeFi traders replicate strategies previously available only on centralised exchanges. Jupiter V2 supports One-Cancels-Other (OCO) orders, where a take-profit and stop-loss are linked: when one triggers, the other cancels automatically.

## Large Order Execution

Splitting large swaps across time reduces price impact. CoW Protocol offers TWAP (time-weighted average price) orders that divide a large trade into smaller chunks executed over a set period. TWAP orders are particularly useful for DAO treasury operations and institutional-sized trades where a single swap would move the market significantly.

## Cross-Chain Swaps

The ERC-7683 cross-chain intents standard, co-authored by Uniswap Labs and Across Protocol and ratified in early 2025, enables limit orders that span multiple chains. A user on Ethereum can place an order to receive tokens on Arbitrum when conditions are met. Major wallets including MetaMask, Safe, and Argent support ERC-7683 natively as of 2026.

## MEV Implications

On-chain limit orders are natural targets for MEV extraction. Visible orders represent standing liquidity that MEV searchers can exploit through front-running and sandwich attacks. Standing limit orders are particularly vulnerable to adverse selection because MEV bots can trigger fills at precisely the moments most disadvantageous to the maker, such as during volatility spikes.
Protocols take different approaches to mitigation. CoW Protocol's batch auction model provides the strongest structural protection by making transaction ordering irrelevant within batches, while UniswapX keeps orders off-chain until execution, preventing mempool surveillance. Jupiter V2 conceals order details until the trigger condition is met, and on-chain order books like Clober remain more exposed to latency-based MEV extraction.
The research article on TradFi-DeFi convergence provides a deeper analysis of MEV dynamics and extraction techniques. The glossary entry on proposer-builder separation covers that mechanism in more detail.

## No Execution Guarantee

DeFi limit orders may never fill even if the target price is briefly touched. Three conditions must simultaneously align: the market price reaching the trigger, sufficient liquidity at that level, and a keeper or solver finding execution profitable after gas costs. Small orders are particularly vulnerable because the gas cost of filling them may exceed the keeper's potential profit.

## Smart Contract Risk

Approving tokens to a limit order protocol's smart contract exposes the user to contract risk. A vulnerability in the settlement contract could drain approved tokens. Users should verify that protocols have undergone thorough audits and consider using approval limits rather than unlimited approvals.

## Partial Fill Dust

Keepers filling orders in chunks may leave small remainders as "dust" that is too small to fill profitably. The user ends up with most of the order filled but a small residual amount that never executes. Some protocols allow users to specify fill-or-kill behaviour to avoid this, but the default on many platforms is partial fills.

## Oracle and Price Feed Dependence

Limit order execution depends on accurate price data. Orders may execute at unfavourable effective rates if a keeper relies on a manipulated oracle feed or a temporarily skewed pool price. Protocols using flash loan-driven price manipulation could trigger fills that disadvantage the maker.

## Cancellation Latency

Off-chain cancellations are free but have propagation delay. A keeper may fill an order in the brief window between the user sending a cancellation and all keepers receiving it. On-chain cancellations are definitive but cost gas, and gas costs may spike during high-volatility periods when cancellation is most urgent.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
