/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { SwapQuoteRequestSide } from './SwapQuoteRequestSide'; /** * * @export * @interface SwapQuoteRequest */ export interface SwapQuoteRequest { /** * * @type {SwapQuoteRequestSide} * @memberof SwapQuoteRequest */ from: SwapQuoteRequestSide; /** * The price impact threshold above which routes are hidden. As an example, one should specify 0.15 (15%) to hide routes with more than 15% price impact. The default is 10%. * @type {number} * @memberof SwapQuoteRequest */ maxPriceImpact?: number; /** * Route optimization preference. * @type {string} * @memberof SwapQuoteRequest */ order?: SwapQuoteRequestOrderEnum; /** * Slippage tolerance (e.g. 0.005 for 0.5%) * @type {number} * @memberof SwapQuoteRequest */ slippage?: number; /** * * @type {SwapQuoteRequestSide} * @memberof SwapQuoteRequest */ to: SwapQuoteRequestSide; } /** * @export * @enum {string} */ export declare enum SwapQuoteRequestOrderEnum { Cheapest = "CHEAPEST", Fastest = "FASTEST" } export declare function SwapQuoteRequestFromJSON(json: any): SwapQuoteRequest; export declare function SwapQuoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapQuoteRequest; export declare function SwapQuoteRequestToJSON(value?: SwapQuoteRequest | null): any;