Lifi Trading Api
API class specifically for Lifi Trading integration functionality.
This class handles all Lifi-related API calls including getting routes, quotes, status, and route step details for cross-chain transfers.
Parameters
host
The base URL of the API server.
credentials
Supplies the bearer token sent with each request.
requests
An instance of PortalRequests to handle HTTP requests.
Functions
Link copied to clipboard
Retrieves a quote from the Lifi integration.
Link copied to clipboard
Retrieves routes from the Lifi integration.
Link copied to clipboard
open suspend fun getRouteStep(request: LifiStepTransactionRequest): Result<LifiStepTransactionResponse>
Retrieves an unsigned transaction from the Lifi integration that has yet to be signed/submitted.
Link copied to clipboard
Retrieves the status of a transaction from the Lifi integration.