Enso Quoter is a transaction simulation and validation API. It works with transactions from any source — DEX aggregators, DeFi protocols, custom contracts, or Enso’s own routing API. Simulate first to predictDocumentation Index
Fetch the complete documentation index at: https://docs.enso.build/llms.txt
Use this file to discover all available pages before exploring further.
amountOut and gas, then validate before signing to ensure the transaction hasn’t been tampered with.
Quick Start
Get a working simulate-then-validate flow in under 5 minutes.
Simulate Transactions
Predict output amounts and gas consumption for any EVM transaction.
Validate Transactions
Verify transaction integrity before signing with per-field validation checks.
Why Quoter?
Source-Agnostic
Works with any EVM transaction — Uniswap, Aave, Enso, or your own contracts. No vendor lock-in.
Tamper Detection
Compares every transaction parameter — calldata, target address, sender, value, and chain ID — to detect any modification between simulation and signing.
No Funds Required
Simulate any transaction without needing the actual tokens in your wallet — test before you commit.
Exact Output Prediction
Get the precise
amountOut you would receive if the transaction were executed on-chain right now.How It Works
Simulate
Send your transaction to the
/simulate endpoint with tokenIn, tokenOut, and amountIn.You get back: simulationId, amountOut, gas, and status.Validate
Before signing, send the unsigned transaction with the
simulationId to /validate.Quoter checks every field — data, to, from, value, chainId — and returns per-field results.Base URL
Authentication
Quoter uses the same Enso API key as the main Enso API. Pass it as a Bearer token in theAuthorization header or as an api_key query parameter.
Updated
