Configuration allows three strategies: empty, include or exclude.
Empty: all sources are enabled.
Include (Whitelisting): only the given sources are enabled.
Exclude (Blacklisting): all sources except the given ones are enabled.
maxSlippageBpsnumber · max: 10000Optional
Maximum allowed slippage for the swap. (in basis points)
Default: 50
maxPriceImpactBpsnumber · max: 10000Optional
Max price impact for the swap. (in basis points)
Default: 10000
priceImpactExceedsErrorbooleanOptional
If true an error is returned if the price impact is exceeded. Otherwise an issue (warning) is added to the response. Defaults to false.
Default: false
minExpirySecnumber · min: 10 · max: 120Optional
Min quote expiry. (in seconds)
RFQ/OTC quotes from market makers have hard expiries between 40-90 seconds. If minExpiry is set higher then MM expiries these MMs are excluded. (Keep in mind that MM pricing might be better than DEX pricing, especially if quantity is high)