Skip to content
NFTVenue Ledger
Directory

Amm Clob Intent Dex Settlement

Just-In-Time (JIT) AMM Liquidity: Intra-Block Mint-Swap-Burn Fee Dilution & LP Defense

Just-In-Time (JIT) searchers bracket large public-mempool swaps inside a single MEV-Boost bundle—minting massive 1-tick concentrated liquidity before the swap and burning immediately after.

By Dr. Devon Kurosawa, PhDReview not recorded · Updated
Just-In-Time (JIT) AMM Liquidity: Intra-Block Mint-Swap-Burn Fee Dilution & LP Defense — NFTVenue Ledger 2026 quantitative & supervisory data card
NFTVenue Ledger (Concentrated Liquidity AMMs, On-Chain CLOBs, Intent Solvers & MEV): Intra-block 1-tick mint-swap-burn bundles, passive LP fee dilution, and v4 donate locks.Source: NFTVenue Ledger Institutional Research DeskLicense: CC-BY-4.0

Unlike predatory sandwich attacks that worsen a swapper's fill price, Just-In-Time (JIT) Liquidity improves execution for the incoming taker while parasitically diluting passive Liquidity Providers on Concentrated Liquidity AMMs. When an unprotected whale swap (e.g., 2,500 ETH -> USDC) enters the public mempool or an unguarded router, a JIT searcher constructs an atomic 3-transaction bundle via the MEV-Boost PBS framework: Tx_1 mints $25M+ of liquidity into the single active tickSpacing tick, Tx_2 executes the whale's swap (capturing 70%–90% of the swap fee plus acquiring ETH below CEX bid!), and Tx_3 burns the position in the exact same block while hedging instantly on Binance or Coinbase.

Contextualized within our concentrated AMM, CLOB & intent DEX master guide, JIT liquidity turns an open AMM pool into a permissionless pseudo-RFQ desk—starving passive resting LPs of high-volume noise fee revenue!

Atomic 3-Transaction Bundle Mechanics & Why JIT Is NOT Risk-Free#

A common misconception is that JIT searchers merely farm swap fees f * V_swap. Because Tx_1 supplies USDC and Tx_2 sells ETH into the pool, Tx_3 withdraws much more ETH and much less USDC than deposited! Essentially, a JIT bundle is an on-chain limit order fill:

  1. Inventory Transformation: If USDC/ETH pool fee is 5 bps and the JIT searcher captures alpha = 85% of active tick liquidity L_total = L_passive + L_JIT, the searcher absorbs 85% of the whale's sold ETH at Spot_Pool * (1 - 0.0005).
  2. Instantaneous CEX Markout Requirement: JIT is profitable only if external CEX bid P_CEX_bid exceeds the searcher's effective fill price plus Tx_1 + Tx_3 mint/burn gas and builder priority tips! If the whale swap itself reflects toxic informed flow coinciding with a CEX dump, an unhedged JIT bot loses money—explaining why integrated CEX-DEX builders dominate JIT execution.
Atomic 3-transaction Just-In-Time (JIT) liquidity mint-swap-burn MEV-Boost bundle execution flow
Atomic 3-transaction Just-In-Time (JIT) liquidity mint-swap-burn MEV-Boost bundle execution flowVerified Exhibit

Systemic Harm: The Passive LP Adverse-Selection Death Spiral#

If JIT improves taker execution, why do protocol designers on Uniswap v4 singleton pools and concentrated DEXs in our marketplaces directory (such as 9mm Pro and Astroport) build explicit anti-JIT hooks?

Because passive LPs rely on large uninformed ("noise") retail swaps to offset continuous Loss-Versus-Rebalancing on toxic arbitrage blocks! When JIT bots cherry-pick 85% of fees on lucrative $2M+ uninformed swaps while leaving passive LPs 100% exposed on toxic CEX-jump blocks, passive LP net APY turns negative—causing resting LPs to withdraw liquidity and degrading baseline spreads for every small swapper below the JIT gas threshold (<$75,000 on L1).

Welfare & Microstructure Impact Matrix: JIT vs Sandwich vs Resting LP#

Stakeholder / MetricUnprotected Sandwich AttackAtomic JIT Liquidity Bundlev4 Anti-JIT Time-Weighted Hook
Large Taker ($2M Swap)Severe loss (pushed to worst slippage limit)Positive surplus (deepened active tick)Standard resting-pool depth fill
Small Taker ($2k Swap)Moderately exposed on low-gas L2sIndirectly harmed as resting LPs exit poolTighter resting spreads preserved
Passive Resting LPsEarn extra fee on 2x sandwich volumeSeverely diluted (-75%+ fee share on big swaps)Protected via minimum block-lock / exit tax
Required Searcher CapitalFlash-loanable inside single tx!Often requires real inventory (cannot flash-swap same pool!)Routed cleanly into formal RFQ / UniswapX
Minimum profitable whale swap notional for JIT liquidity across Ethereum L1 vs L2 gas regimes
Minimum profitable whale swap notional for JIT liquidity across Ethereum L1 vs L2 gas regimesVerified Exhibit

Optimal JIT Liquidity Sizing (L_JIT*) & Passive Dilution Equation#

Suppose resting passive liquidity in active tick [P_a, P_b] is L_0, incoming whale swap pays gross fee F_gross = f * V_swap, CEX hedge spread edge per filled dollar is e_hedge (can be positive or slightly negative), and capital lock/gas cost is C_fixed + c_cap * L_JIT:

Formula or model from the articleNot independently verified
JIT Searcher Net Profit & Optimal Liquidity Injection (L_JIT*):
  • ShareJIT(LJIT) = LJIT / (L0 + L_JIT)
  • PiJIT(LJIT) = ShareJIT(LJIT) * Vswap * (f + ehedge) - ccap * LJIT - Gas_MintBurn
  • First-Order Optimal Injection (dPi / dL_JIT = 0):
  • LJIT* = max(0, sqrt( (L0 * Vswap * (f + ehedge)) / ccap ) - L0)
  • Worked Mainnet 3,000 ETH ($9.0M) Swap on 5 bps ETH/USDC Pool:
  • Resting tick depth equivalent = $3.0M (L0 = 3.0); Vswap = $9.0M; f = 5.0 bps; e_hedge = +1.5 bps (CEX bid higher)
  • Gross extractable edge Vswap * (f + ehedge) = $9,000,000 * 0.00065 = $5,850; Gas_MintBurn = $140
  • With intra-block flash/prop capital cost c_cap = $80 per $1M equivalent:
  • => L_JIT* = sqrt((3.0 * 5,850) / 80) - 3.0 = 14.81 - 3.0 = $11.81M equivalent injected!
  • => Share_JIT = 11.81 / 14.81 = 79.7% (Passive LPs lose 79.7% of the $4,500 swap fee -> diluted from $4,500 down to $913!)

Uniswap v4 Anti-JIT Hooks: Block-Locks & donate Exit Penalties#

In Uniswap v4 singleton pools, pool creators neutralize 0-block JIT dilution inside beforeRemoveLiquidity: if block.number - lastMintBlock[positionId] < MIN_HOLD_BLOCKS, the hook either reverts or confiscates 100% of accrued fees plus a 10 bps principal haircut via PoolManager.donate straight back to resting in-range LPs! Compare predatory takers' risks next in sandwich MEV optimal frontrun sizing across our AMM, CLOB & Intent DEX hub.

Frequently asked questions

Does Just-In-Time (JIT) liquidity hurt or help the trader whose swap is targeted?

Directly, JIT helps the targeted swapper by temporarily multiplying active-tick liquidity 4x–10x right before execution, reducing price impact; indirectly, chronic JIT drives passive LPs out of pools.

Can a searcher execute JIT liquidity using zero capital via a Uniswap v3 flash swap?

Not from the target pool itself because UniswapV3Pool Slot0.unlocked prevents reentering mint during flash, though searchers borrow inventory free for 1 tx via Aave/Balancer/Maker flash loans and hedge residual delta on CEXs.

Why is JIT liquidity nearly non-existent on Arbitrum and Base compared to Ethereum L1?

JIT requires observing the pending whale swap before block execution; L2 rollups with private single-sequencer mempools do not broadcast pending user calldata publicly prior to sequencing.

How do Uniswap v4 hooks convert JIT attempts into yield for passive LPs?

A JIT-penalty hook tracks the block.number of every modifyLiquidity(+) call and deducts an early-withdrawal fee during same-block modifyLiquidity(-), calling poolManager.donate to credit resting LPs.

Publication record

Published
November 14, 2026
Updated
November 16, 2026
Author
Dr. Devon Kurosawa, PhD
Review
Review not recorded
Automated fact check
Passed in the stored pipeline record
Source URLs
3 recorded

AI assistance recorded: anthropic/claude-opus-4.6. This field does not establish human review or source verification.

Academic & Institutional Attribution

Cite This Research & Embed Live Data Card

Open Attribution License (CC BY 4.0)

Standard academic & institutional research paper citation format.

Dr. Devon Kurosawa, PhD. (2026, November 16). Just-In-Time (JIT) AMM Liquidity: Intra-Block Mint-Swap-Burn Fee Dilution & LP Defense. NFTVenue Ledger. https://nftvenueledger.com/protocols/jit-just-in-time-liquidity-mint-burn-amm-fee-dilution

Regulatory Directory Cross-Reference

Referenced Institutions & Regulatory Registries

Mentioned Regulated Institutions

Primary Tier-1 Supervisory Registries

Explore Amm Clob Intent Dex Settlement Hub (20) →

NFTVenue Ledger Data, Benchmarks & Contributor Records

Just-In-Time (JIT) AMM Liquidity & LP Fee Dilution Math | NFTVenue Ledger