Skip to main content
The LI.FI SDK package provides access to the LI.FI API to find and execute the best on-chain and cross-chain routes across various bridges and exchanges.

Installation

Ecosystem Providers

To execute transactions, install the provider packages for the ecosystems you need:
Provider packages are only required if you want to execute routes/quotes through the SDK. If you only need to request routes, quotes, or other API data, the core @lifi/sdk package is sufficient.
Check out our complete examples in the SDK repository, and feel free to file an issue if you encounter any problems.

Quick Start

1

Set up the SDK

Firstly, create SDK client with your integrator string.
2

Request a quote

Now you can interact with the SDK and for example request a quote.
You can learn more about configuring the SDK in the next section.