Custom fees for swaps are in early access. Contact [email protected] to
enable them for your app and set your fee recipient.
How it works
Once custom fees are enabled, set a total fee cap with thefee_configuration parameter on the quote and execute endpoints. Privy allocates the developer fee within that cap and routes it to your recipient. The fee appears as a developer line item in the quote’s estimated fees.
See fees for the full breakdown of fees that apply to a
swap, and the get a quote page for the
fee_configuration
parameter reference.Next steps
Monetization
Keep a share of the revenue generated across Earn, swaps, and transfers.

