LifiTradingApi

class LifiTradingApi(host: String, apiKey: String, requests: PortalRequests)

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.

apiKey

The API key used for authentication.

requests

An instance of PortalRequests to handle HTTP requests.

Constructors

Link copied to clipboard
constructor(host: String, apiKey: String, requests: PortalRequests)

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

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.