Class TronBridgersCrossChainTrade

Abstract class for all cross-chain providers' trades.

Hierarchy

Constructors

Properties

bridgeType: "bridgers" = BRIDGE_TYPE.BRIDGERS

Contains bridge provider's type used in route.

feeInfo: FeeInfo

Swap fee information.

from: PriceTokenAmount<"TRON">

Token to sell with input amount.

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
priceImpact: null | number
to: PriceTokenAmount<"ETH" | "BSC" | "POLYGON" | "FANTOM">

Token to get with output amount.

toTokenAmountMin: BigNumber

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

type: "bridgers" = CROSS_CHAIN_TRADE_TYPE.BRIDGERS

Type of calculated cross-chain trade.

Accessors

Methods

Generated using TypeDoc