Earn revenue on every swap by adding integrator fees. Fees are specified in basis points and sent directly to your recipient address on-chain.Documentation Index
Fetch the complete documentation index at: https://docs.avnu.fi/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
Fee in basis points as bigint (10n = 0.1%, 100n = 1%)
Address to receive fee payments
Your protocol/platform identifier (for analytics)
SDK Example
How It Works
Fee Calculation:- Fees are specified in basis points (bps)
- Transferred directly to your recipient address on-chain
The fee token is selected automatically based on the swap route - you don’t need to specify it.
Best Practices
Always Set integratorName
Always Set integratorName
Setting your integrator name helps with:
- Analytics and volume tracking
- Support and troubleshooting
- Potential partnership opportunities
Related
Swap Guide
Back to main swap documentation
API Reference
View complete API parameters