Fee Sharing & Earning
Every swap on OneSwap generates a 1% fee. That fee is split between liquidity providers, the platform, and — for SDK-powered swaps — the developer who built the integration.
Fee Structure
Total Swap Fee — 1%
Every token swap charges a 1% fee on the input amount. Here’s how it’s distributed:
| Recipient | Share | Percentage |
|---|
| Liquidity Providers | 75% of fee | 0.75% |
| Platform | 25% of fee | 0.25% |
SDK Developer Fee Split
When a swap is executed through the OneSwap SDK (by a third-party app), the platform’s 0.25% share is split equally with the developer:
| Recipient | Share | Percentage |
|---|
| Liquidity Providers | 75% of fee | 0.75% |
| Platform | 12.5% of fee | 0.125% |
| SDK Developer | 12.5% of fee | 0.125% |
This means developers earn revenue simply by integrating OneSwap into their apps.
Fee Flow — Direct Swap (oneswap.xyz)
User swaps 1,000 CC
├── Traffic fee → OneSwap treasury recovery (variable, small)
├── 7.5 CC (0.75%) → Liquidity Providers
├── 2.5 CC (0.25%) → OneSwap Platform
└── Remainder → Swap calculation → Output tokens to user
Fee Flow — SDK Swap (third-party app)
User swaps 1,000 CC
├── Traffic fee → OneSwap treasury recovery (variable, small)
├── 7.5 CC (0.75%) → Liquidity Providers
├── 1.25 CC (0.125%) → OneSwap Platform
├── 1.25 CC (0.125%) → SDK Developer
└── Remainder → Swap calculation → Output tokens to user
Traffic Fee — Variable
OneSwap also charges a small variable traffic-fee recovery amount per swap to offset Canton execution costs borne by pool parties. This is separate from the 1% swap fee, is shown in the swap quote, recorded as a traffic fee event, and later collected to treasury with the rest of the platform fee accumulator.
Treasury collection is manual, not automatic.
Traffic recovery is not shared with liquidity providers or SDK developers. Pool reserves, TVL, and LP value calculations exclude pending platform, developer, and traffic-fee collections so treasury-owned balances do not appear as LP-owned liquidity.
How LPs Earn
When you provide liquidity, you earn 0.75% of every swap proportional to your share of the pool.
The Math
Your earnings per swap = LP fee (0.75%) × Swap amount × (Your LP balance / Total LP supply)
Example:
| Value |
|---|
| Your LP balance | 100 |
| Total LP supply in pool | 10,000 |
| Your pool share | 1% |
| Swap volume today | 500,000 CC |
| LP fees generated | 3,750 CC (0.75%) |
| Your earnings today | 37.5 CC |
How Fees Accumulate
Fees don’t appear as a separate balance. Instead, they increase the value of your LP position:
- A user swaps 1,000 CC for USDCx
- 7.5 CC (0.75%) is added to the pool reserves
- Your LP balance now represents a slightly larger share of reserves
- When you withdraw, you receive more tokens than you deposited
This means your earnings are automatic and continuous — no claiming or harvesting required.
Understanding APR
The Annual Percentage Rate (APR) shown on each supported pool is calculated from recent trading activity:
APR = (LP fees earned over 7 days / Total pool value) × (365 / 7) × 100
OneSwap only shows APR when it can value both sides of the pool in a shared quote token honestly. In practice, that means stable-quoted pools such as CC/USDCx.
| APR | What It Means |
|---|
| 0% | No swaps in the past 7 days |
| 5% | Moderate activity — steady returns |
| 20%+ | High volume — strong earning opportunity |
APR is based on historical data and is not guaranteed. Future returns depend on trading volume and can vary significantly.
Earning Example — Full Walkthrough
Let’s say you provide liquidity to the CC/USDCx pool:
Day 0: You Deposit
- You add 1,000 CC and 1,600 USDCx to the pool
- Total pool: 100,000 CC + 160,000 USDCx
- Your share: 1%
Over 30 Days: Trading Happens
- 2,000,000 CC in total swap volume passes through the pool
- LP fees generated: 15,000 CC worth of value (0.75%)
- Your 1% share: ~320 CC worth of fees earned
Day 30: You Withdraw
- You withdraw your LP balance
- You receive your original deposit plus accrued fees
- Your profit: fee earnings proportional to your 1% share
For SDK Developers
If you integrate OneSwap into your application using the SDK, you automatically earn 0.125% of every swap made through your integration.
How It Works
- Authenticate your wallet in the OneSwap developer portal and create an SDK API key
- Integrate swap functionality into your app
- Every swap your users make generates 0.125% revenue for you
Revenue Example
| Monthly Swap Volume | Your Revenue (0.125%) |
|---|
| 100,000 CC | 125 CC |
| 1,000,000 CC | 1,250 CC |
| 10,000,000 CC | 12,500 CC |
No upfront cost. No minimum volume. You earn from the first swap.
Maximizing Returns
For Liquidity Providers
- Choose high-volume pools — More swaps = more fees. Check 24-hour volume and APR on supported pools.
- Provide more liquidity — Your earnings scale linearly with your pool share.
- Stay in the pool longer — Fees accumulate continuously.
- Monitor impermanent loss — If the price ratio changes dramatically, fee earnings may not fully offset the loss.
For SDK Developers
- Drive swap volume — The more users swap through your app, the more you earn.
- Integrate multiple pools — Give users more options to increase total volume.
- Build great UX — A smooth swap experience drives repeat usage.
Fee Summary
| Fee | Rate | Recipient | Source |
|---|
| LP Fee | 0.75% | Liquidity Providers | All swaps |
| Platform Fee | 0.25% | OneSwap | Direct swaps |
| Platform Fee (SDK) | 0.125% | OneSwap | SDK swaps |
| Developer Fee | 0.125% | SDK Developer | SDK swaps |
| Traffic Fee | Variable | OneSwap treasury recovery | All swaps |
Featured App Rewards
OneSwap participates in the Canton Network’s Featured App Rewards program. This generates additional CC rewards from the network based on swap activity:
- Each swap creates an activity marker on the Canton Network
- The network distributes CC rewards to featured apps based on activity
- These rewards supplement the platform’s sustainability
Featured App Rewards are a platform-level benefit and don’t directly affect individual LP earnings. The 0.75% LP fee remains the primary earning mechanism for liquidity providers.