Default User Settings
Default slippage: slippage
The default slippage must be selected from the slippage options, which can be a number between 0 and 1. Setting slippage to undefined will make Squid to define the best slippage for each route:
slippage: 1 // number between 0-1, or undefined for "Auto" modeDisable chains settings: disabledChains
You can disable chains for a specific direction by specifying them in the disabledChains setting.
Disabled chains will not be displayed in the chains list on the widget:
disabledChains: {
source: [
"1", // Ethereum
"137" // Polygon
],
destination: [
"osmosis-1" // Osmosis
];
};Price impact warning trigger points: priceImpactWarnings
The user will receive a warning in the UI if the price impact percentage is over the warning value, and will be unable to swap if the price impact is over the critical value.
We recommend keeping these as default.
priceImpactWarnings: {
warning: 3,
critical: 5,
}Last updated