Class DebridgeCrossChainTrade

Calculated DeBridge cross-chain trade.

Hierarchy

Constructors

Properties

allowanceTarget: string
bridgeType: "dln" = BRIDGE_TYPE.DEBRIDGE

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.

isAggregator: false = false

True, if provider is aggregator.

onChainSubtype: {
    from: "ONE_INCH";
    to: "ONE_INCH";
} = ...

Contains on-chain providers' type used in route.

Type declaration

  • from: "ONE_INCH"
  • to: "ONE_INCH"
priceImpact: null | number

Token to get with output amount.

toTokenAmountMin: BigNumber

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

type: "dln" = CROSS_CHAIN_TRADE_TYPE.DEBRIDGE

Type of calculated cross-chain trade.

Accessors

Methods

Generated using TypeDoc