To use Auto Slippage Tolerance, set the
slippageBps
parameter to auto
when
calling the DFlow Swap API’s Get Quote
or Get Intent Quote. The DFlow
Aggregator will then determine the slippage automatically.How Auto Slippage Works
Auto slippage calculates an optimal tolerance using factors such as market volatility, liquidity depth, and network congestion. This reduces the chance of failed trades while minimizing potential negative price impact.Auto slippage values are continuously updated server-side by the DFlow
Aggregator, so they reflect the latest onchain conditions.
Sequence of Events
- A trader submits a swap via the API or UI.
- DFlow evaluates market conditions to determine the optimal slippage tolerance.
- The swap is executed with this calculated tolerance, maximizing execution probability while protecting the trader from excessive price movement.
Frequently Asked Questions
What is Auto Slippage Tolerance?
What is Auto Slippage Tolerance?
Auto Slippage Tolerance allows DFlow to automatically select a slippage tolerance that balances trade execution probability with price protection.
How does DFlow calculate auto slippage?
How does DFlow calculate auto slippage?
The DFlow Aggregator evaluates market volatility, liquidity depth, and network
conditions to determine an optimal tolerance for each swap.
Can I override auto slippage?
Can I override auto slippage?
Yes — if you prefer precise control, use Custom Slippage
Tolerance instead.
Does auto slippage guarantee a successful swap?
Does auto slippage guarantee a successful swap?
It increases the likelihood, but extreme market movements or low liquidity may still cause the swap to fail.