Skip to main content

How It Works

Fees can be embedded at the transaction construction level. When a user deposits $10,000 with a 10 bps (0.1%) fee:
  • $9,990 goes to the protocol
  • $10 goes to your specified fee address
The user signs one transaction. Fee collection happens atomically. No separate transfers needed.

Fee Types

Deposit Fees - Charged when users deposit into Earn vaults
Withdrawal Fees - Charged when users withdraw from positions
Borrow Fees - Charged when users open credit lines
Swap Fees - Charged on token swaps within Product Accounts

Flexible Fee Models

You can charge fees on:
  • Deposits only
  • Withdrawals only
  • Both deposits and withdrawals
  • Percentage of yield earned
  • Fixed amounts per transaction