The problem
A quote can look valid and still revert when the user broadcasts it. State moves between quote time and execution: balances change, pool reserves shift, a token behaves in a way the quote didn’t account for. The user pays gas for a failed transaction, and your product carries the support cost and the loss of trust.How LI.FI solves it
LI.FI replays the exact transaction the user would send against current on-chain state and checks whether it reverts. Routes that fail the check are filtered out, so the set of routes you receive is pre-validated against live conditions. The simulation runs on the LI.FI side during route generation. It doesn’t require the user to hold the input token or grant an approval first, so there’s no extra step in your flow and no change to how the user signs.Simulation reduces reverted transactions but does not guarantee execution. It filters routes that would revert at quote time, but it can’t prevent a failure if on-chain state changes between the quote and when the user broadcasts the transaction.
What you see as an integrator
Nothing to configure and nothing new to handle. Quote Simulation raises the quality of the routes LI.FI returns rather than exposing a parameter you set. The observable effect is that a route which would fail on-chain is absent from the response.Quote Simulation isn’t an integrator-controllable flag. LI.FI enables it per integrator, and there’s no request field to toggle it on or off.
Scope
- EVM chains only. Non-EVM chains aren’t simulated.
- Same-chain swaps only. Cross-chain routes are out of scope for simulation.
- Higher-value trades. Simulation applies above a value threshold, so low-value quotes aren’t slowed by it. The threshold is configurable per integrator.
- Requires the user’s address on the quote request, which is the normal case for execution.
Availability
Quote Simulation is an enterprise feature, enabled per integrator.Contact the LI.FI team to enable
Share your chains and typical trade sizes. We confirm coverage and enable simulation for your integrator key.

