Lifi class
LiFi cross-chain swap and bridging functionality
This class provides access to LiFi's cross-chain liquidity aggregation, allowing users to swap tokens across different blockchains.
Constructors
- Lifi(PortalHostApi _api)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getQuote(
LifiQuoteRequest request) → Future< LifiQuoteResponse> - Get a quote for a specific cross-chain swap
-
getRoutes(
LifiRoutesRequest request) → Future< LifiRoutesResponse> - Get available routes for a cross-chain swap
-
getRouteStep(
LifiStepTransactionRequest request) → Future< LifiStepTransactionResponse> - Get the unsigned transaction for a route step
-
getStatus(
LifiStatusRequest request) → Future< LifiStatusResponse> - Get the status of a cross-chain transaction
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited