Class DebridgeCrossChainProvider

Hierarchy

Constructors

Properties

type: "dln" = CROSS_CHAIN_TRADE_TYPE.DEBRIDGE

Methods

  • Parameters

    • from: PriceTokenAmount<"ETH" | "BSC" | "POLYGON" | "AVALANCHE" | "ARBITRUM" | "OPTIMISM" | "LINEA" | "BASE" | "SOLANA">
    • toToken: PriceToken<"ETH" | "BSC" | "POLYGON" | "AVALANCHE" | "ARBITRUM" | "OPTIMISM" | "LINEA" | "BASE" | "SOLANA">
    • options: Omit<CrossChainOptions, "fromSlippageTolerance" | "toSlippageTolerance" | "slippageTolerance" | "gasCalculation" | "deadline" | "providerAddress" | "timeout" | "changenowFullyEnabled" | "enableTestnets"> & Required<Pick<CrossChainOptions, "fromSlippageTolerance" | "toSlippageTolerance" | "slippageTolerance" | "gasCalculation" | "deadline" | "providerAddress" | "timeout" | "changenowFullyEnabled" | "enableTestnets">>

    Returns Promise<CalculationResult<EvmEncodeConfig | {
        data: string;
    }>>

Generated using TypeDoc