Technical FAQ
Questions frequently asked by developers
- Can I remove the ‘via LI.FI’ tag from the widget?
- Can I check the code of LI.FI’s APIs?
- Analysis of our smart contract transactions
- How do I use the API endpoints and interprete the responses?
- What happens behind the API when it comes to fetching quotes?
- Does LI.FI plan to support Flutter/Dart SDK or Widget?
- I recently integrated the LI.FI Widget. Why do I see less routes on the widget as compared to Jumper.Exchange?
- Can I simulate a call with the calldata returned from https://li.quest/v1/quote/contractCall e.g. in Tenderly? Should I suppose to use the Executor contract & where to get the exact parameters for swapAndExecute or swapAndCompleteBridgeTokens ?
- Is there way to play (integrate) with swap widget on testnets (eg. Polygon Mumbai) ?
- Is the difference between toAmount and toAmountMin purely based on the slippage and if this is the case which is the default slippage when calling /quote route?
- How can I find get approve tx data and check for allowance?
- Do I have to always approve both the Executor and the Diamond in order to make a swap or will approve to the Diamond only will suffice?
- Can you share some insight on the fees structure of using LI.FI for a DApp?
- Who pays for gas cost on the source and destination chains?
- How to call the LI.FI contract from another contract?
- Can I use the current SDK in a react native app?
- We want to decode the callData returned by LI.FI SDK/API to assert or verify that the parameters like toAddress, etc., are correct.
- Where can I view the facets deployment addresses?
- How does LI.FI handle max approvals/allowances?
- Is it possible to add the LI.FI widget to Wordpress?
- Is sending transaction is only available through SDK or can this be done via API?
- How does slippage and toMinAmount works in routes with several steps?
- Does anyone have a schema for the getRoutes API/SDK request?
- Is the repository where custom implementations are added public?
- Are cross-chain swaps atomic?
- What's the best way of unsubscribing from the execution update callback? How do we know when the route has finished executing?
- Are you going to support test networks in production API as well?
- What is the LI.FI API rate limit?
- Would it be possible to get token price in EUR as well?
- Would it be possible to add a query param to fetch only specific tokens by addresses?