Just-in-Time (JIT) Liquidity
Web3 / defi
Just-in-time liquidity is a sophisticated trading strategy where specialized market participants provide liquidity to automated market maker pools only immediately before profitable trades are executed, then withdraw their capital once the trades complete. JIT liquidity providers (often called snipers or arbitrageurs) monitor mempool activity or use private order flow information to detect pending transactions that will move prices, quickly deposit liquidity into pools to facilitate those trades, capture a portion of the transaction value, and immediately exit. This practice represents an advanced form of MEV extraction that exploits information asymmetries and the time delay between transaction submission and execution. JIT liquidity has become increasingly controversial as it disproportionately benefits informed participants and creates a form of invisible tax on retail traders. Example: MEV searchers actively employ JIT liquidity strategies on Uniswap V3, where concentrated liquidity positions make these attacks more pronounced. They detect large incoming swaps through various channels and inject liquidity at the last moment to capture spread value that would normally benefit the pool. Why it matters for DeFi: JIT liquidity extraction represents a hidden cost that retail users encounter, reducing their effective returns. Understanding and mitigating JIT attacks is crucial for building fair DeFi systems, and various solutions including threshold encryption and MEV-resistant AMM designs are being developed.
Explore the full Web3 Glossary — 2,062+ expert-curated definitions. Need guidance? Talk to our consultants.