Enso Quoter is a standalone simulate-then-validate API for already-built EVM transactions. It is not required before calling the Route API; Route already quotes and simulates the path it builds.
Definition
Quoter predicts output and gas by simulating a transaction you already built, then checks the unsigned transaction against that simulation before the user signs. It works with any valid EVM calldata, not only transactions produced by Enso.
How it works
You send the built transaction, plus the tokens and amounts to track, to a simulate endpoint.
The service runs the transaction on a forked EVM state and returns a
simulationId, predictedamountOut, gas used, and a success or error status.Before the user signs, you send the unsigned transaction with that
simulationIdto a validate endpoint.Validation checks
data,to,from,value, andchainIdindependently, andvalidis true only when every check passes.Simulations are cached for five minutes. After expiry, validation returns a not-found error and you should simulate again.
How Enso does this
Use the Quoter base URL https://quoter.api.enso.build. Authenticate with the same Developer Portal key as the main Enso API, as a Bearer token or an api_key query parameter. Call POST /api/v1/simulate, then POST /api/v1/validate. See Quoter. Route remains the API that finds a path and returns signer-ready tx data; Quoter is a separate check for a transaction you already have.
FAQ
Do I need Quoter to use the Route API?
No. A Route call already quotes and simulates internally and returns amountOut, minAmountOut, and tx.
Can I simulate a transaction I did not get from Enso?
Yes. Quoter is source-agnostic: any valid EVM transaction can be simulated and validated.
Related articles
Enso Route vs Enso Quoter
How do I simulate or validate a transaction I built myself?
What is transaction simulation in DeFi?
How do I show a quote before the user signs?
What is the Enso Route API?
