amountOut comes from a simulation of the current path, after fees, slippage treatment, and price impact. Inspect those fields and rebuild the quote rather than assuming a mid-market price.
Definition
The expected output is not a spot conversion. It is what the simulated route is expected to deliver for this amountIn, path, and fee configuration.
How it works
Compare
amountOutwithminAmountOut(or BundleminAmountsOut) so you show both the estimate and the floor.Read
priceImpactwhen it is present. It can be null when a USD price is missing, or on async redeem routes.Read
feeAmount,feeBreakdown, andensoFeeAmountwhen a fee was applied.On an async redeem, top-level
amountOutis null. Useasync.estimatedAmountOutinstead.
How Enso does this
Route returns amountOut from the same simulated quote as tx and gas. See DeFi and Swap Routing, the FAQ on price impact, and Fees. Rebuild the quote if it is stale.
FAQ
Did the API take an unexpected fee?
Check feeBreakdown. A partner or platform fee reduces output relative to a fee-free mid-market number.
Is a lower amountOut a failed quote?
No. A failed path returns an error such as “Could not build shortcuts for route.” A lower amountOut is still a quote; decide whether to show a warning from priceImpact or fees.
Related articles
What is amountIn vs amountOut?
What is price impact?
What is feeAmount and feeBreakdown?
What is an async redeem?
What if my quote expired?
