Class TaikoBridgeTrade

Abstract class for all cross-chain providers' trades.

Hierarchy

Constructors

Properties

bridgeType: "taiko_bridge" = BRIDGE_TYPE.TAIKO_BRIDGE

Contains bridge provider's type used in route.

feeInfo: FeeInfo = {}

Swap fee information.

Token to sell with input amount.

gasData: GasData

Gas fee info in source blockchain.

id: undefined | string

id of taiko bridge tx, used to get trade status.

isAggregator: false = false

True, if provider is aggregator.

onChainSubtype: {
    from: undefined;
    to: undefined;
} = ...

Contains on-chain providers' type used in route.

Type declaration

  • from: undefined
  • to: undefined
onChainTrade: null = null

Token to get with output amount.

toTokenAmountMin: BigNumber

Minimum amount of output token user will get in Eth units.

type: "taiko_bridge" = CROSS_CHAIN_TRADE_TYPE.TAIKO_BRIDGE

Type of calculated cross-chain trade.

Accessors

Methods

Generated using TypeDoc