Lifi Step
data class LifiStep(val id: String, val type: LifiStepType, val tool: String, val action: LifiAction, val toolDetails: LifiToolDetails? = null, val estimate: LifiEstimate? = null, val includedSteps: List<LifiInternalStep>? = null, val integrator: String? = null, val referrer: String? = null, val execution: JsonElement? = null, val transactionRequest: JsonElement? = null, val transactionId: String? = null, val gasCostUSD: String? = null, val fromAddress: String? = null, val toAddress: String? = null, val containsSwitchChain: Boolean? = null)
Step in a route
Constructors
Link copied to clipboard
constructor(id: String, type: LifiStepType, tool: String, action: LifiAction, toolDetails: LifiToolDetails? = null, estimate: LifiEstimate? = null, includedSteps: List<LifiInternalStep>? = null, integrator: String? = null, referrer: String? = null, execution: JsonElement? = null, transactionRequest: JsonElement? = null, transactionId: String? = null, gasCostUSD: String? = null, fromAddress: String? = null, toAddress: String? = null, containsSwitchChain: Boolean? = null)
Properties
Link copied to clipboard
The action of the step
Link copied to clipboard
Whether a chain switch is part of the route
Link copied to clipboard
The estimation for the step
Link copied to clipboard
The sending wallet address
Link copied to clipboard
Aggregation of the underlying gas costs in USD
Link copied to clipboard
Internal steps included in this step
Link copied to clipboard
A string containing tracking information about the integrator of the API
Link copied to clipboard
The details of the tool used for this step. E.g. relay
Link copied to clipboard
The unique transaction ID for tracking
Link copied to clipboard
An ether.js TransactionRequest that can be triggered using a wallet provider
Link copied to clipboard
The type of the step (swap, cross, or lifi)