LifiAction

data class LifiAction(val fromChainId: String, val fromAmount: String, val fromToken: LifiToken, val toChainId: String, val toToken: LifiToken, val slippage: Double? = null, val fromAddress: String? = null, val toAddress: String? = null, val destinationGasConsumption: String? = null)

Action within a step

Constructors

Link copied to clipboard
constructor(fromChainId: String, fromAmount: String, fromToken: LifiToken, toChainId: String, toToken: LifiToken, slippage: Double? = null, fromAddress: String? = null, toAddress: String? = null, destinationGasConsumption: String? = null)

Properties

Link copied to clipboard

The amount of gas to be consumed on the destination chain

Link copied to clipboard
val fromAddress: String? = null

The sending wallet address

Link copied to clipboard

The amount that should be transferred including all decimals

Link copied to clipboard

The id of the chain where the transfer should start

Link copied to clipboard

The sending token

Link copied to clipboard
val slippage: Double? = null

The maximum allowed slippage

Link copied to clipboard
val toAddress: String? = null

The receiving wallet address

Link copied to clipboard

The id of the chain where the transfer should end

Link copied to clipboard

The token that should be transferred to