Type alias SwapRouteQuote

SwapRouteQuote: {
    estimate: {
        aggregatePriceImpact: string;
        estimatedRouteDuration: number;
        exchangeRate: string;
        feeCosts: SquidFeeCost[];
        fromAmount: string;
        fromAmountUSD: string;
        gasCosts: SquidGasCost[];
        route: {
            fromChain: Record<string, any>[];
            toChain: Record<string, any>[];
        };
        sendAmount: string;
        toAmount: string;
        toAmountUSD: string;
    };
    params: {
        fromAmount: string;
        fromChain: string;
        fromToken: Token;
        quoteOnly: boolean;
        slippage: number;
        toAddress: string;
        toChain: string;
        toToken: Token;
    };
}

Type declaration

  • estimate: {
        aggregatePriceImpact: string;
        estimatedRouteDuration: number;
        exchangeRate: string;
        feeCosts: SquidFeeCost[];
        fromAmount: string;
        fromAmountUSD: string;
        gasCosts: SquidGasCost[];
        route: {
            fromChain: Record<string, any>[];
            toChain: Record<string, any>[];
        };
        sendAmount: string;
        toAmount: string;
        toAmountUSD: string;
    }
    • aggregatePriceImpact: string
    • estimatedRouteDuration: number
    • exchangeRate: string
    • feeCosts: SquidFeeCost[]
    • fromAmount: string
    • fromAmountUSD: string
    • gasCosts: SquidGasCost[]
    • route: {
          fromChain: Record<string, any>[];
          toChain: Record<string, any>[];
      }
      • fromChain: Record<string, any>[]
      • toChain: Record<string, any>[]
    • sendAmount: string
    • toAmount: string
    • toAmountUSD: string
  • params: {
        fromAmount: string;
        fromChain: string;
        fromToken: Token;
        quoteOnly: boolean;
        slippage: number;
        toAddress: string;
        toChain: string;
        toToken: Token;
    }
    • fromAmount: string
    • fromChain: string
    • fromToken: Token
    • quoteOnly: boolean
    • slippage: number
    • toAddress: string
    • toChain: string
    • toToken: Token