Class XyDexTrade

Abstract class for all instant trade providers' trades.

Hierarchy

Constructors

Properties

dexContractAddress: string
feeInfo: FeeInfo

Token to sell with input amount.

gasFeeInfo: null | GasFeeInfo

Gas fee info, including gas limit and gas price.

path: readonly Token<BlockchainName>[]
slippageTolerance: number

Token to get with output amount.

type: "XY_DEX" = ON_CHAIN_TRADE_TYPE.XY_DEX
useProxy: boolean

True, if trade must be swapped through on-chain proxy contract.

Accessors

Methods

Generated using TypeDoc