Skip to main content

What are bridge fees on a cross-chain route?

Cross-chain Enso quotes can include metadata.bridgeFees and, on intent routes, an intentExecution keeper fee charged in the bridge token. amountOut is net of that keeper fee.

J
Written by Javier Diaz

Cross-chain Enso quotes can include metadata.bridgeFees for bridge and execution costs. On an intent route, that list includes an intentExecution keeper fee charged in the bridge token, and amountOut is already net of that fee.

Definition

Bridge fees are the costs of moving assets (and, on an intent route, of running the destination route) that the quote attributes to the selected path. They are separate from a portal-configured partner fee on trades, and they are not the same as priceImpact.

How it works

  • After you request a Route with destinationChainId, inspect metadata.bridgeFees when it is present. Amounts use the fee token’s base unit, and fields can indicate whether a fee already reduced the quoted output.

  • On an intent route, look for the intentExecution entry. That is the keeper fee. The keeper also enforces minAmountOut on the destination chain.

  • Destination execution fees for a selected bridge can be included in the source request so the destination callback can run.

  • Show these fees on the review screen alongside amountOut and minAmountOut, rather than inventing a flat fee.

  • For partner monetization, configure the Developer Portal Fees tab, or, on an intent route, a caller fee with destinationFeeReceiver is charged by the keeper on the destination chain.

How Enso does this

See DeFi and Swap Routing and Crosschain Routing. Fee token and calculation details vary by the selected documented bridge; read the current quote instead of hardcoding a provider schedule.

FAQ

Is the intent keeper fee added on top of amountOut?

No. On an intent route, amountOut is net of the keeper fee.

Are bridge fees the same as the partner fee I set in the portal?

No. Portal fees are configured on your API key. Bridge and intent-execution fees are path costs reported on the quote.

Related articles

  • How do I charge a fee on a destination-chain intent route?

  • How do I set a partner fee on user trades?

  • How do I show a quote before the user signs?

  • What is an intent route in Enso?

  • How do I read estimated delivery time from an Enso quote?

Sources

Did this answer your question?