import { EstimatesInterface } from './estimates.interface'; import { RoutingInterface } from './routing.interface'; import { SwapType } from './swap-type'; import { TransactionInterface } from './transaction.interface'; import { ErrorInterface } from './error.interface'; import { CrossChainTradeType } from '../../providers/cross-chain-trade-type'; import { OnChainTradeType } from '../../providers/on-chain-trade-type'; import { FeesInterface } from './fees.interface'; import { QuoteTokensInterface } from './quote-tokens.interface'; export interface QuoteResponseInterface { /** * Trade identifier */ id: string; /** * Quote response data */ tokens: QuoteTokensInterface; /** * Swap type */ swapType: SwapType; /** * Provider type */ providerType: CrossChainTradeType | OnChainTradeType; /** * Estimates */ estimate: EstimatesInterface; /** * Fees */ fees: FeesInterface; /** * Routing data */ routing: RoutingInterface[]; /** * Transaction data */ transaction: TransactionInterface; /** * Specific info about quote params provider */ warnings: ErrorInterface[]; /** * Does transaction go through rubic contracts or not */ useRubicContract: boolean; }