If you use this feature, Arc keeps 10% of the custom fee you collect from your
end users.
Custom fees are not supported with
feePayment: "source".
Combining them (including a kit-level custom fee policy) throws a validation
error.Prerequisites
Before you begin, ensure that you’ve: These are required so any example below runs with a validkit and adapter.
Set a custom fee on a bridge
This example adds a 0.10 USDC fee to a single bridge transfer:TypeScript