Skip to content

Fees

SDK Cost

The TokenFlight Embed SDK is free and open source. There is no licensing fee or per-transaction charge for using the widget.

Transaction Fees

A single swap can involve multiple fee components depending on the route:

Fee TypePaid InDescription
Gas feeSource chain native token (ETH, BNB, etc.)Standard blockchain transaction fee on the source chain
Bridge feeVariesCross-chain bridge protocol fee (Across, DeBridge, etc.)
Protocol feeVariesFee charged by the underlying DEX or liquidity provider

How Fees Are Displayed

  • The widget shows an estimated total fee in the quote preview UI before the user confirms.
  • Gas estimates are calculated from the source chain's native token and current gas prices.
  • Bridge and protocol fees are included in the quote from the API and displayed transparently.
  • The "You receive" amount shown to the user is after all fees.

Fee Transparency

All fees are reflected in the quote route details:

  • Each route option shows an estimated total fee (denominated in the source chain's native token)
  • Users can compare routes to find the lowest-fee option
  • The route marked "BEST" is ranked by the best output amount (after fees)

No Hidden Costs

  • No API key fees
  • No subscription or tiered pricing
  • No markup on swap rates
  • The SDK makes zero third-party requests beyond the configured API endpoint