Skip to main content

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.

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.
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.
Create an account at LI.FI Portal. Then, pass the integrator string and fee parameter as described in our fee setup guide.
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:
GET /v1/integrators/{integratorId}/withdraw/{chainId}
See the FeeForwarder documentation for details.
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.
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.
  • 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.
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.