OptionalbaseCustom base URL for the aggregator API
OptionalbyWhether the amount is input amount (true) or output amount (false)
OptionaldepthMaximum routing depth for finding optimal paths
OptionaldexList of DEXes to use for routing
OptionalfeeFee configuration for the swap
OptionalifWhether to print debug information
OptionalserviceService fee configuration
OptionalslippageSlippage tolerance as a ratio (e.g., 0.01 for 1%). Only used in swapPTB, not in getQuote. If provided, it will be used to calculate minAmountOut instead of using the minAmountOut parameter.
Options for swap operations
This type configures various aspects of the swap process including DEX selection, routing depth, and fee handling.