Definition
Just-in-time liquidity is liquidity supplied in response to an incoming trade or auction and made available only for the period in which that trade can use it.
How JIT liquidity works
On Uniswap v3, a JIT liquidity provider observes a pending swap, adds concentrated liquidity immediately before it, earns fees from the swap and removes the position immediately afterwards. The provider may hedge the resulting inventory on another venue.
Other protocols use different implementations. CoW Protocol allows approved liquidity sources to appear as JIT orders inside a solver competition rather than as ordinary signed user orders.
Effects on execution and liquidity providers
Additional liquidity can reduce the price impact of a large trade. The JIT provider receives a share of the fees because its capital is present when the swap executes.
The strategy can reduce fees earned by liquidity providers who supplied capital for longer periods. Its economics depend on transaction size, pool fees, hedging costs, execution costs and competition for transaction ordering.
What it does not mean
JIT liquidity is temporary and trade-responsive. Standing liquidity remains available before an individual trade appears. The term can describe different mechanisms across AMMs and auction-based protocols.
Where this term fits
Questions about just-in-time liquidity
- Does JIT liquidity always worsen execution for the trader?
- No. Additional depth can improve execution by reducing price impact, although the outcome depends on the protocol and transaction.
- Is JIT liquidity the same as ordinary liquidity provision?
- No. Ordinary liquidity is deposited without being tied to one observed trade. JIT liquidity appears in response to specific order flow.
- Does every decentralized exchange support JIT liquidity?
- No. The strategy depends on the protocol's transaction visibility, liquidity model and execution rules.
See these concepts in context
Review the Fensory MCP connection, tools and account controls.