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; } 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
totalSwapSeconds: number
warning: string
Represents an estimate for a swap transaction.