Skip to main content
You can charge a fee on every swap a flow runs, as direct revenue on top of Dynamic’s routing costs. A fee config is attached when the flow is created, fixed from that point, and collects a percentage of the source amount to wallets you nominate. A fee config can name one EVM recipient, one Solana recipient, or both, each with its own percentage of the source amount. The fee is not always paid out on the chain the payer swapped from, so naming both gives you a recipient no matter which chain the swap settles the fee on. Depending on which recipient a swap pays, a fee arrives in one of two ways:
  • Distributed on-chain at swap time. A Solana recipient is always paid this way, as part of the settlement transaction. Nothing to collect.
  • Accrued as a claimable balance. An EVM recipient’s fee can accumulate off-chain, typically as USDC, and you sweep it later.
Because either can happen for an EVM recipient, an integration that charges fees needs to handle both: check accrued balances periodically and claim what is waiting.

Next

Conversions

How a flow converts the payer’s asset into the one you settle in.

Implement it

Request shapes for fee configs, checking balances, and claiming.
Last modified on September 21, 2026