Automatic routing
When the source asset does not match your settlement configuration, the flow runs a swap, a bridge, or both. Provider selection, execution, and failover happen behind the scenes: you configure what you want to receive, and the flow works out how to get there. Which route is chosen depends on the strategy set on the flow. See Settlement for the strategies and what each optimises for.Requiring an exact match
Some integrations need the payer to arrive with an asset that already matches a configured settlement. SettingdisableSwaps on the flow enforces that. It is fixed when the flow is created and applies to every mode.
The restriction is enforced at the quote, not at source attachment, which is worth knowing when you are building the payer experience:
- An incompatible source attaches successfully. The rejection comes later, when a quote is requested.
- A quote succeeds when the source chain, chain ID, and token all match a configured settlement, and that settlement chain has a matching destination. Token comparison is case-insensitive.
- A matching wallet quote transfers directly, with no swap provider involved. A matching deposit address is issued as normal, and requesting another quote reuses the existing address.
- A quote that would need a swap or bridge is refused, and a deposit address that would need a route is refused before any provider work happens.
- Exchange sources are unaffected, because the exchange provider buys the settlement token directly.
Charging your own fee
You can charge a fee on every swap a flow runs, as direct revenue on top of Dynamic’s routing costs. See Adding your own fee for how fee configs, recipients, and claiming work.Next
Settlement
What you receive, on which chain, and where it lands.
Adding your own fee
Charge a fee on every swap, and claim what accrues.