Read the gas field on the Route or Bundle response. It is a simulation estimate for the returned transaction. Do not treat it as a single combined source-plus-destination total on a cross-chain route.
Definition
A gas estimate is the amount of execution gas the simulated transaction is expected to use on the chain where that transaction runs. A later destination callback is a different stage.
How it works
Show
gasfrom the current quote on the review screen, alongsideamountOutand the route path.Rebuild the quote if it expires, rather than modifying the returned transaction or reusing an old gas figure.
On a cross-chain Bundle, the API can estimate source execution and bridge callback fees for the selected route.
callbackGasLimitis not a public Bundle parameter.Destination gas is not the same as source-chain
gas. Do not invent a single “total gas” number.
How Enso does this
Route returns gas with tx, amountOut, and route from the same simulated quote. Bundle returns gas when quoting is enabled; skipQuote=true can omit quote-dependent fields such as gas. See DeFi and Swap Routing and the FAQ on estimating gas across chains. For a transaction you built yourself, use Enso Quoter rather than the Route gas field.
FAQ
Is this the same as the Quoter gas estimate?
No. Route and Bundle estimate the transaction they built. Quoter estimates a payload you already have. See How do I estimate gas for a DeFi transaction?
Why shouldn’t I sum source and destination gas myself?
The FAQ says callback gas is calculated by the backend and callbackGasLimit is not a public Bundle parameter. Use the estimates in the current quote, and track destination delivery separately.
Related articles
How do I estimate gas for a DeFi transaction?
How accurate is the Quoter gas estimate?
How do I show a quote before the user signs?
How do I read estimated delivery time from an Enso quote?
What if my quote expired?
