Skip to main content

Does Enso Quoter change my transaction?

No. Enso Quoter only simulates and validates. The transaction you submit on-chain is exactly what you built; Quoter does not alter calldata, target, or value.

J
Written by Javier Diaz

No. Enso Quoter only simulates and validates. The transaction you submit on-chain is exactly what you built. Quoter does not alter your calldata, target address, or value.

Definition

Simulation predicts what a transaction would do. Validation checks that the unsigned transaction still matches the simulation. Neither step is a rewrite of the transaction. You remain responsible for submitting the same to, data, and value you already constructed.

How it works

  • You send the built transaction to the simulate endpoint and review amountOut, gas, and status.

  • You send the same unsigned transaction, plus the simulationId, to validate.

  • If validation fails, something in the unsigned transaction differs from the simulation. Do not sign; investigate or re-simulate.

  • If validation passes, sign and submit the transaction you built, not a transaction produced by Quoter.

How Enso does this

The Quoter FAQ and Third-Party Transactions both state that Quoter never alters calldata, target, or value. Use https://quoter.api.enso.build only to preview and to check integrity. If you need Enso to build the path and the tx for you, that is the Route or Bundle API, not Quoter.

FAQ

If validation fails, can I edit the transaction and still use the same simulationId?

No. A changed field will fail the corresponding check. Re-simulate the transaction you actually intend to sign.

Does Route work the same way?

Route returns a transaction Enso built. You should submit that returned tx unchanged. Quoter, by contrast, never builds or edits the calldata you already have.

Related articles

  • How do I validate that a transaction has not been tampered with?

  • Enso Route vs Enso Quoter

  • What is signer-ready transaction data?

  • How do I simulate or validate a transaction I built myself?

  • What is Enso Quoter?

Sources

Did this answer your question?