Documentation Index
Fetch the complete documentation index at: https://docs.li.fi/llms.txt
Use this file to discover all available pages before exploring further.
Does LI.FI charge a fee on every swap or bridge transaction?
Does LI.FI charge a fee on every swap or bridge transaction?
LI.FI charges a 0.25% service fee on each transaction.
You can add your own fee by including a fee percentage and an integrator string during setup.
LI.FI also offers volume-based commercial discounts.
What is the fee structure for the supported Bridges and DEXes?
What is the fee structure for the supported Bridges and DEXes?
Fee structures vary by bridge or DEX. Some use a percentage-based model, others charge a flat fee.
The API provides detailed fee data in the
feeCosts object when you request quotes or routes.How can I set up my account to start charging fees as an integrator?
How can I set up my account to start charging fees as an integrator?
Create an account at LI.FI Portal.
Then, pass the
integrator string and fee parameter as described in our
fee setup guide.Where and how can I withdraw the fees collected through my integration?
Where and how can I withdraw the fees collected through my integration?
On all supported chains, fees are sent directly to your configured wallet at execution time. No withdrawal is needed for new transactions.If you have legacy fees on EVM chains that were collected before the FeeForwarder upgrade, you can withdraw them from the LI.FI Portal or via the API:See the FeeForwarder documentation for details.
Can I withdraw old fees with my new wallet on portal?
Can I withdraw old fees with my new wallet on portal?
No. Legacy fees in the FeeCollector contract can only be withdrawn by the wallet that was designated for fee collection when those fees were accrued. If you’ve updated your wallet, use the original one to claim older balances. See Withdrawing previously collected fees for instructions.
Are all fees included in the rate taken in the same token?
Are all fees included in the rate taken in the same token?
No. Fees can be collected in different tokens:
- Some bridge fees (e.g., Stargate, Arbitrum) are in the native asset.
- Gas fees are also in the native asset.
- Other fees are usually deducted from the sending asset.
What are the integrator, referrer, and fee parameters in LI.FI?
What are the integrator, referrer, and fee parameters in LI.FI?
integrator: Identifies your integration for analytics and tracking.referrer: Optional on-chain string for your internal tracking.fee: Decimal percentage deducted from the sending asset as your commission.
How does fee collection work, and which token are fees taken in?
How does fee collection work, and which token are fees taken in?
Fees are taken from the sending token (the
fromToken in the quote) and sent directly to your configured fee wallet at execution time on all supported chains. Custom fee models are available if required.
