Live
Coinweb
Web3 Definition· 1 min read
Markdown

Just-In-Time (JIT) Liquidity

Quick Definition

Just-In-Time (JIT) liquidity is an on-chain MEV strategy in concentrated-liquidity AMMs where a market maker adds deep liquidity immediately before a large swap and withdraws it in the very same block.

What Is Just-In-Time (JIT) Liquidity?

Just-In-Time (JIT) liquidity is a specialized DeFi market-making technique enabled by concentrated liquidity automated market makers such as Uniswap v3 and v4. Instead of leaving capital passively locked in a pool for weeks, a JIT market maker monitors pending swaps, adds massive liquidity into the exact single price tick required by an incoming trade, earns the vast majority of that swap's fee, and immediately burns the position within the same block.

Step-by-Step Anatomy of a JIT Block Bundle

  1. Detection: A searcher spots a large pending swap (for example, $1.5M USDC → ETH) with sufficient slippage tolerance.
  2. Mint (Tx 1): The JIT bot submits a transaction adding tens of millions of dollars of single-tick concentrated liquidity right at the current pool price.
  3. Target Swap (Tx 2): The trader's swap executes against the newly deepened tick, suffering minimal price impact.
  4. Burn & Hedge (Tx 3): Immediately after the swap in the same atomic bundle, the bot withdraws its liquidity plus 80%–99% of the swap fee and hedges its inventory delta on a centralized exchange.
Participant Effect of JIT Liquidity Net Trade-Off
Large DEX Swappers Deeper single-tick depth lowers slippage Generally positive execution improvement
Passive LPs Fee share diluted during the largest trades Reduced fee yield without reducing impermanent loss
JIT Market Makers High fee capture with 1-block inventory risk Requires sophisticated MEV bidding & CEX hedging

Why JIT Matters for DeFi Market Structure

Unlike malicious sandwich attacks that deliberately worsen a trader's execution price, JIT liquidity acts as a reverse sandwich that typically improves the swapper's fill price. The controversy lies with passive liquidity providers: if JIT bots consistently capture the fees on large institutional-sized swaps while passive LPs absorb toxic arbitrage flow on normal blocks, passive pools become less profitable. Next-generation DEX designs—including Uniswap v4 hooks and intent-based auctions—experiment with dynamic fees and lockup minimums to balance active JIT fills with healthy passive liquidity.

Explore leading decentralized trading venues in our best decentralized crypto exchanges comparison.

Frequently Asked Questions

Is Just-In-Time liquidity the same as a sandwich attack?

No. A sandwich attack moves the price against the trader to extract value, whereas JIT liquidity injects extra depth at the active tick—typically giving the trader better execution and lower slippage.

Does JIT liquidity hurt passive liquidity providers?

In the short term, JIT dilutes passive LPs' fee share on large swaps within that block, though it also shields passive LPs from some adverse price movement on large directional trades.

Which blockchains see the most JIT liquidity?

Ethereum mainnet (Uniswap v3) accounts for the largest historical share of JIT liquidity due to mature MEV block-builder auctions and deep whale order flow.

Suchet Salvesen
Written by11+ Years Experience
Suchet Salvesen· Economist, Author & Financial Analyst

Suchet is a Norwegian economist, entrepreneur, and investor, serving as the CFO and COO of Brainfund.com - (iq.wiki - Everipedia)

Crypto Tax, Accounting & EconomicsRegulation, Legal & ComplianceStablecoins & Monetary EconomicsCrypto Cards, Banking & Payments
David Liebowitz

Independently Fact-Checked by David Liebowitz

Founder of Flywheel DeFi · Co-Founder of PIF Labs Blockchain Incubator

Editorial Standards

Related Comparisons & Crypto Wiki Terms

Explore independently benchmarked comparisons and fact-checked Coinweb research on this topic.