Transaction simulation estimates what a transaction would do — output, gas, and price impact — before anyone sends it. Enso simulates Route and Bundle responses before returning them. You can also simulate the returned transaction yourself. Enso Quoter is a standalone tool for transactions built outside Enso, not a prerequisite for Route.
Definition
A simulation runs the transaction against current state without publishing it on-chain. It is how a quote becomes something you can show: expected output, a protected minimum, gas, and price impact. It is not a guarantee of later execution if balances, allowance, or prices change.
How it works
The execution API builds a path or action list and simulates it.
The response includes quote fields from that simulation.
Your app shows those fields, then submits the returned
txas-is — or rebuilds the quote if it is stale.Optionally, simulate the same transaction in your own environment before the user signs.
Use a separate validate-and-simulate API only for calldata you built outside the routing flow.
How Enso does this
The FAQ states that the API simulates the transaction before returning a route, and that priceImpact on Route, Bundle, and nontokenized-route responses comes from simulation. Core Concepts states that route and action responses are already simulated, and that Quoter is for transactions generated outside Enso. Docs also say users can independently simulate a transaction before sending it; this article does not name a third-party simulator.
FAQ
If simulation succeeded, can the transaction still fail?
Yes. A later execution can fail on funds, allowance, gas, slippage, or a stale quote. Rebuild rather than resubmit old calldata.
Do I need Quoter to use Route?
No.
Related articles
How do I show a quote before the user signs?
What is signer-ready transaction data?
Why did the transaction fail on-chain after I got a quote?
What is slippage in DeFi?
Is it safe to use Enso?
