Interface CrossChainOptions

Hierarchy

  • CrossChainOptions

Properties

changenowFullyEnabled?: boolean

True, if changenow must be calculated for non-evm source blockchains.

deadline?: number

Deadline for transaction (for Symbiosis).

enableTestnets?: boolean

True if test networks are enabled.

fromAddress?: string

Address to send transaction, otherwise connected wallet is used (necessary for Symbiosis).

fromSlippageTolerance?: number

Slippage in source network (for Celer and Rubic). Takes value from 0 to 1.

gasCalculation?: "enabled" | "disabled"

Enables or disables gas fee calculation.

lifiDisabledBridgeTypes?: LifiSubProvider[]

Deprecated

Will be renamed to lifiDisabledProviders in the next major update

rangoDisabledProviders?: ("IBC" | "10KSwap" | "Pangolin Swap" | "Sushi Swap" | "Osmosis" | "UniSwapV2" | "VVS Finance" | "MM Finance" | "Crona Swap" | "Oolong Swap" | "Trisolaris Swap" | "Mojito Swap" | "Netswap" | "Voltage Swap" | "PancakeV2" | "PancakeV3" | "UniSwapV3" | "KyberSwapV3" | "Jupiter" | "Open Ocean" | "CurveFi" | "Quick Swap" | "XY Finance" | "Solarbeam" | "Aurora Swap" | "Stella Swap" | "1Inch" | "Beam Swap" | "ParaSwap" | "Synapse Swapper" | "Fin Kujira" | "Solana Wrapper" | "Avnu" | "EchoDEX" | "SpaceFi" | "Wynd Dex" | "Sun Swap" | "MDex" | "Okc Swap" | "Cherry Swap" | "Across" | "Voyager" | "CBridge" | "Rainbow Bridge" | "Synapse Bridge" | "Optimism Bridge" | "Orbiter" | "Maya Protocol" | "ThorChain" | "Arbitrum Bridge" | "AllBridge" | "Hyphen" | "Circle" | "Stargate" | "Satellite" | "Symbiosis")[]

Providers disabled in platform config for rango

receiverAddress?: string

Address to send transaction, otherwise connected wallet is used (necessary for Symbiosis).

slippageTolerance?: number

Overall slippage (for Symbiosis). Takes value from 0 to 1.

timeout?: number

Timeout for each cross-chain provider. Calculation for provider is cancelled, after timeout is passed.

toSlippageTolerance?: number

Slippage in target network (for Celer and Rubic). Takes value from 0 to 1.

useProxy?: Record<CrossChainTradeType, boolean>

Generated using TypeDoc