LifiIncludedSwapStep

data class LifiIncludedSwapStep(val tool: String? = null, val toolDetails: LifiToolDetails? = null, val fromAmount: String? = null, val fromToken: LifiToken? = null, val toAmount: String? = null, val toToken: LifiToken? = null, val bridgedAmount: String? = null)

Included swap or protocol step in the status response

Constructors

Link copied to clipboard
constructor(tool: String? = null, toolDetails: LifiToolDetails? = null, fromAmount: String? = null, fromToken: LifiToken? = null, toAmount: String? = null, toToken: LifiToken? = null, bridgedAmount: String? = null)

Properties

Link copied to clipboard
val bridgedAmount: String? = null

The amount that was sent to the bridge

Link copied to clipboard
val fromAmount: String? = null

The amount that was sent to the tool

Link copied to clipboard
val fromToken: LifiToken? = null

The token that was sent to the tool

Link copied to clipboard
val toAmount: String? = null

The amount that was received from the tool

Link copied to clipboard
val tool: String? = null

The tool used for this step

Link copied to clipboard

The details of the tool used for this step (e.g. 1inch or feeProtocol)

Link copied to clipboard
val toToken: LifiToken? = null

The token that was received from the tool