SwapEstimate: {
    canSwap: boolean;
    errors: string[];
    inboundConfirmationSeconds?: number;
    maxStreamingQuantity: number;
    netOutput: CryptoAmount;
    netOutputStreaming: CryptoAmount;
    outboundDelayBlocks: number;
    outboundDelaySeconds: number;
    recommendedMinAmountIn?: string;
    slipBasisPoints: number;
    streamingSlipBasisPoints: number;
    streamingSwapBlocks: number;
    streamingSwapSeconds: number;
    totalFees: TotalFees;
    totalSwapSeconds: number;
    warning: string;
}

Represents an estimate for a swap transaction.

Type declaration

  • canSwap: boolean
  • errors: string[]
  • Optional inboundConfirmationSeconds?: number
  • maxStreamingQuantity: number
  • netOutput: CryptoAmount
  • netOutputStreaming: CryptoAmount
  • outboundDelayBlocks: number
  • outboundDelaySeconds: number
  • Optional recommendedMinAmountIn?: string
  • slipBasisPoints: number
  • streamingSlipBasisPoints: number
  • streamingSwapBlocks: number
  • streamingSwapSeconds: number
  • totalFees: TotalFees
  • totalSwapSeconds: number
  • warning: string

Generated using TypeDoc