Price impact is the expected market move from the trade. On Enso, it is returned from simulation on Route, Bundle, and non-tokenized route responses, in basis points, and may be null when a USD price is not available.
Definition
Price impact estimates how much the trade itself moves the quoted price, relative to the input and the simulated output. It is not the same as slippage, which is the extra tolerance you allow between the quoted output and the on-chain minimum.
How it works
The routing or bundling service simulates the selected path and compares the input value with the estimated output.
The response includes
priceImpactin basis points when a USD price is available.A higher value means a larger expected move for that trade size and path. Use it as a quote-quality warning, not as the on-chain minimum.
If USD pricing is missing,
priceImpactcan be null. For async redeem routes,amountOut,minAmountOut, andpriceImpactcan also be null, with estimates described in theasyncfield instead.
How Enso does this
POST /api/v1/shortcuts/route, POST /api/v1/shortcuts/bundle, and GET /api/v1/shortcuts/route/nontokenized return priceImpact from transaction simulation. Show it on the quote screen as a warning or quality indicator. Enforce protection with slippage or minAmountOut, not with priceImpact alone. See the FAQ and DeFi and Swap Routing.
FAQ
Is price impact the same as slippage?
No. Price impact describes the expected market move in the quote. Slippage is the tolerance that sets minAmountOut for execution.
Why is priceImpact sometimes null?
Enso returns null when a USD price is not found, and also on async redeem routes, where estimates appear under async instead.
Related articles
What is slippage in DeFi?
What is minAmountOut?
How do I show a quote before the user signs?
What is transaction simulation in DeFi?
What if slippage is too tight and the swap reverts?
