Our default slippage, when no slippage is set, is 0.5% per step (0.005 on the API). Slippage is expressed as a decimal from 0 to 1, where 1 = 100%.
For example, a route that includes swap + bridge + swap can result in 1.5% total slippage in that sense, but there are some exceptions:
- Some exchanges, such as those on Solana, may suggest their own slippage if none is set.
- Some bridges, such as cBridge for small amounts, may enforce their own slippage to help ensure successful transaction execution. In those cases, we pass on that slippage.
The API accepts manually set slippage of up to 1 or 100%, expressed as a decimal.
We recommend not tracking the slippage set by the user directly, but instead tracking the toAmountMin from our quotes. This is the value we promise the user after slippage. If they receive less than this amount, something is likely off. We also track this on our side so we can investigate transactions that users report.