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?: LifiBridgeTypes[]
rangoDisabledProviders?: ("SOLANA" | "arbitrum" | "osmosis" | "thorchain" | "symbiosis" | "xy" | "stargate" | "orbiter_bridge" | "across" | "hyphen" | "ibc" | "mayaprotocol" | "optimism" | "rainbow" | "satellite" | "synapse" | "voyager" | "OPEN_OCEAN" | "SYNAPSE" | "cbridge" | "allbridge" | "celercircle" | "10K_SWAP" | "AURORA_SWAP" | "AVNU" | "BEAM_SWAP" | "CHERRY_SWAP" | "CRONA_SWAP" | "CURVE" | "ECHO_DEX" | "FINKUJIRA" | "JUPITER" | "KYBER_SWAP" | "MDEX" | "MM_FINANCE" | "MOJITO_SWAP" | "NET_SWAP" | "OKC_SWAP" | "ONE_INCH" | "OOLONG_SWAP" | "OSMOSIS_SWAP" | "PANCAKE_SWAP" | "PANCAKE_SWAP_V3" | "PANGOLIN" | "PARA_SWAP" | "QUICK_SWAP" | "SOLAR_BEAM" | "SPACEFI_SWAP" | "STELLA_SWAP" | "SUN_SWAP" | "SUSHI_SWAP" | "TRISOLARIS" | "UNISWAP_V2" | "UNI_SWAP_V3" | "VOLTAGE_SWAP" | "VVS_FINANCE" | "WYND" | "XY_DEX")[]

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