Auto Slippage Tolerance lets DFlow dynamically determine the optimal slippage for each swap based on market conditions. This ensures trades have a high probability of success while maintaining price protection.
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

  1. A trader submits a swap via the API or UI.
  2. DFlow evaluates market conditions to determine the optimal slippage tolerance.
  3. The swap is executed with this calculated tolerance, maximizing execution probability while protecting the trader from excessive price movement.

Frequently Asked Questions

Auto Slippage Tolerance allows DFlow to automatically select a slippage tolerance that balances trade execution probability with price protection.
The DFlow Aggregator evaluates market volatility, liquidity depth, and network conditions to determine an optimal tolerance for each swap.
Yes — if you prefer precise control, use Custom Slippage Tolerance instead.
It increases the likelihood, but extreme market movements or low liquidity may still cause the swap to fail.

Get Started with the Swap API Today