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[]
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