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, inspectmetadata.bridgeFeeswhen 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
intentExecutionentry. That is the keeper fee. The keeper also enforcesminAmountOuton 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
amountOutandminAmountOut, rather than inventing a flat fee.For partner monetization, configure the Developer Portal Fees tab, or, on an intent route, a caller fee with
destinationFeeReceiveris 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?
