How to charge platform fees

Learn how to charge a fee for providing swap services

DFlow allows you to charge your users a swap fee. The fee is dynamic, charged per swap as a percentage of the user's receive token, and accrues 100% to you.

Depending on how you have integrated with DFlow, the steps to charge a platform fee differs.

Integrated via fully-managed

Platform fee (in bps) and platform fee receiver address are specified when making quote requests (EVM, Solana).

Integrated via self-managed

Platform fee (in bps) and platform fee receiver address are specified when making endorsement requests (/endorsement).