Search looks through the written questions first. The AI only answers when nothing matches.

What is JIT liquidity around a swap?

Experienced · Updated

JIT liquidity, just in time, is liquidity a searcher adds immediately before a swap and removes immediately afterwards, inside the same block. The swap can execute against that temporary liquidity. The position shows up to take the fee on that swap and is gone before the next block. It is not a deposit that stays in the pool for the swaps that come later.

The effect splits. The person swapping can be filled by liquidity that was not there a block earlier and will not be there a block later; the price they see can depend on that brief position. Someone already in the pool can lose the fee they expected, because the temporary position takes it and leaves. This is not a promise of a better or worse price for you in every pool design: the concrete effect depends on how the pool shares fees. The effect is described here, not a way to search for it. The liquidity you count on for the next block may no longer include what served your swap.

Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.

Articles

In the Academy: Advanced · In the Academy · In the glossary

Related questions