Fee Voting and Governance Participation
Learning Objectives
Understand fee voting mechanics including weighted average calculations and top-8 dynamics
Analyze optimal fee rates for different pool conditions
Execute AMMVote transactions effectively
Coordinate with other LPs to achieve governance goals
Monitor and respond to governance changes that affect your positions
Every XRPL AMM pool has a trading fee determined by LP votes. This fee directly affects your yield—higher fees mean more revenue per trade, but may reduce volume. Lower fees attract more trades but capture less per trade.
If you're in the top 8 LP positions, your vote directly sets the fee. If you're not, your vote is recorded but doesn't count in the calculation. Either way, understanding governance is essential for effective LP participation.
FEE VOTING FUNDAMENTALS
WHO CAN VOTE:
├── Any LP token holder
├── Vote by submitting AMMVote transaction
├── Specify preferred fee rate (0-1000 = 0-1%)
└── Vote persists until changed or LP tokens removed
HOW FEE IS DETERMINED:
├── Only top 8 LP positions count
├── Weighted average of their votes
├── Weight = LP token quantity
├── Fee = Σ(LP_weight × Vote) / Σ(LP_weight)
└── Updates when any vote changes
EXAMPLE:
Top 8:
| LP | Tokens | Vote | Weight×Vote |
|---|---|---|---|
| 1 | 500K | 0.50% | 2,500 |
| 2 | 400K | 0.60% | 2,400 |
| 3 | 300K | 0.40% | 1,200 |
| 4 | 250K | 0.55% | 1,375 |
| 5 | 200K | 0.45% | 900 |
| 6 | 150K | 0.50% | 750 |
| 7 | 100K | 0.30% | 300 |
| 8 | 80K | 0.70% | 560 |
| Sum | 1,980K | - | 9,985 |
Fee = 9,985 / 1,980,000 = 0.504%
```
DETERMINING YOUR GOVERNANCE POWER
STEP 1: Find your LP token balance
├── Check wallet for pool's LP tokens
└── This is your voting weight
STEP 2: Find top-8 threshold
├── Query pool to see LP token rankings
├── Identify 8th largest position
└── This is the threshold to influence fee
STEP 3: Assess your position
├── Are you in top 8? Direct influence
├── Close to top 8? Potential influence
├── Far from top 8? No direct influence
└── Each situation has different strategies
POSITION SCENARIOS:
Top 3 LP:
├── Significant voting power
├── Can meaningfully move fee rate
├── High responsibility—votes matter
└── Strategy: Analyze optimal fee carefully
Top 8 LP (not top 3):
├── Vote counts directly
├── Marginal influence
├── Combined with others can shift fee
└── Strategy: Coordinate with similar-sized LPs
Close to top 8 (9th-15th):
├── Vote recorded but doesn't count
├── Could enter top 8 with more deposit
├── Or if larger LP exits
└── Strategy: Monitor for opportunity
Small LP:
├── Vote doesn't directly count
├── Signal preferences to larger LPs
├── Voice in community discussions
└── Strategy: Accept fee as given, or grow position
---
FEE OPTIMIZATION DYNAMICS
HIGHER FEES:
Benefits:
├── More revenue per trade
├── Higher APY per volume unit
├── Better for LPs if volume holds
└── More IL compensation
Costs:
├── Traders may route elsewhere
├── Less arbitrage (worse price alignment)
├── Volume may decrease significantly
├── Pool becomes less competitive
└── Net effect could be negative
LOWER FEES:
Benefits:
├── Attracts more trading volume
├── More arbitrage (better prices)
├── More competitive vs alternatives
└── Volume increase may overcome lower margin
Costs:
├── Less revenue per trade
├── Need much higher volume to compensate
├── May not cover IL adequately
├── Race to bottom risk
└── Volume doesn't always materialize
OPTIMAL FEE:
├── Maximizes Total_Revenue = Volume × Fee
├── Not too high (kills volume)
├── Not too low (insufficient margin)
├── Pool-specific equilibrium
└── Requires analysis and testing
```
ANALYZING OPTIMAL FEE
FACTORS TO CONSIDER:
Competition intensity
Price sensitivity of traders
Current volume/fee relationship
IL characteristics
Pool maturity
FEE RATE RULES OF THUMB:
├── Major pairs (XRP/major stable): 0.3-0.5%
├── Secondary pairs: 0.4-0.6%
├── Exotic/unique pairs: 0.5-0.8%
├── Stable/stable pairs: 0.1-0.3%
└── Starting points, not mandates
```
TESTING FEE CHANGES
APPROACH FOR TOP-8 LPs:
├── Start with hypothesis: "Lower fee will increase volume"
├── Vote to shift fee (if you can influence)
├── Observe for 2-4 weeks
├── Measure: Volume change, revenue change
├── Conclude: Was hypothesis correct?
└── Iterate
EXAMPLE:
Current: 0.6% fee, $50K daily volume, $300 daily revenue
Hypothesis: 0.4% fee could increase volume 75%
Vote to lower fee.
After 3 weeks: 0.45% fee (others didn't fully follow)
New volume: $65K (+30%)
New revenue: $293 (-2%)
Conclusion: Volume increased but not enough.
Fee cut wasn't worth it. Consider reverting.
COORDINATION REQUIREMENT:
├── Your vote alone may not move fee much
├── Need other top-8 LPs to follow
├── Communicate your reasoning
├── Build consensus for changes
└── Unilateral changes often fail
```
AMMVOTE TRANSACTION
Required fields:
├── TransactionType: "AMMVote"
├── Account: Your XRPL address
├── Asset: First pool asset
├── Asset2: Second pool asset
├── TradingFee: Your vote (0-1000)
└── Fee: Transaction fee (drops)
TRADING FEE ENCODING:
├── 0 = 0.000%
├── 100 = 0.100%
├── 250 = 0.250%
├── 500 = 0.500%
├── 1000 = 1.000%
└── Integer, no decimals
EXAMPLE TRANSACTION:
{
"TransactionType": "AMMVote",
"Account": "rYourAddress...",
"Asset": {
"currency": "XRP"
},
"Asset2": {
"currency": "5553440000000000000000000000000000000000",
"issuer": "rStableIssuer..."
},
"TradingFee": 450 // 0.45%
}
EXECUTION:
├── Sign transaction with your key
├── Submit to XRPL
├── Wait for validation
├── Vote is now recorded
└── Fee recalculates if you're top-8
```
VOTING BEST PRACTICES
BEFORE VOTING:
├── Analyze current fee and its effects
├── Check what other top-8 LPs have voted
├── Have clear rationale for your vote
├── Consider pool health, not just your return
└── Think long-term, not just next week
WHEN TO VOTE:
├── Initial deposit: Set vote immediately
├── Fee analysis complete: Vote your conclusion
├── Major market changes: Reassess and potentially re-vote
├── Coordination achieved: Vote in concert with others
└── Don't vote randomly or frequently
VOTE MAGNITUDE:
├── Large change: Only if confident and coordinated
├── Small change: Test and iterate
├── Match existing consensus: If you agree
├── Extreme votes: Rarely justified
└── Reasonable range: ±0.1-0.2% from current
DOCUMENTATION:
├── Record your vote and rationale
├── Track fee changes over time
├── Monitor volume response
├── Assess effectiveness
└── Learn from results
```
BLACKHOLED WALLET ISSUE
THE PROBLEM:
├── Some wallets have keys destroyed ("blackholed")
├── Their LP tokens still count in top-8
├── But they can never change their vote
├── Creates stale votes affecting fee
└── Can freeze governance
IDENTIFYING BLACKHOLED WALLETS:
├── Check top-8 wallet master keys
├── Blackholed = master key disabled
├── They cannot submit transactions
├── Their vote is permanent
└── Tools can identify these
IMPACT:
├── If 30% of top-8 is blackholed at 0.5%
├── That 30% always votes 0.5%
├── Active LPs must work around it
├── Fee becomes harder to adjust
└── Governance is partially frozen
STRATEGIES:
├── Check blackholed status before depositing
├── Avoid pools with heavily blackholed governance
├── Accept limitation if otherwise attractive
├── Proposed amendment would exclude blackholed from voting
└── Monitor for protocol improvements
CURRENT STATE:
├── Check specific pool for blackholed status
├── Not all pools affected
├── Issue more common in older pools
├── Due diligence includes this check
└── Factor into governance assessment
```
LP COORDINATION STRATEGIES
WHY COORDINATE:
├── Single LP rarely controls fee alone
├── Need consensus for meaningful changes
├── Coordination multiplies influence
├── Better decisions through discussion
└── Community building benefits pool
HOW TO COORDINATE:
Identify other LPs
Establish communication
Share analysis
Build consensus
Execute coordinated votes
STRATEGIES FOR SMALLER LPs
YOU CAN STILL INFLUENCE:
Community voice
Grow your position
Coordinate with other small LPs
Threaten exit
Choose better-governed pools
GOVERNANCE WARNING SIGNS
RED FLAGS:
├── Single LP controls >50% of votes
├── Fee changed dramatically without explanation
├── Blackholed wallets dominate governance
├── No response to legitimate concerns
├── Fee rate doesn't match pool needs
├── Evidence of vote manipulation
└── Any of these = reconsider position
YELLOW FLAGS:
├── LP concentration high but not dominant
├── Infrequent governance changes
├── Limited LP communication
├── Fee hasn't changed despite market changes
└── May be fine, but monitor
GREEN FLAGS:
├── Multiple active LPs in top-8
├── Fee adjustments match market conditions
├── Community engagement exists
├── Transparent decision-making
├── Governance serves pool health
└── Ideal governance situation
```
QUANTIFYING FEE IMPACT
FEE CHANGE SCENARIOS:
Current: 0.5% fee, $100K daily volume
If fee drops to 0.4%:
├── Same volume: Revenue -20%
├── Volume +25%: Revenue = Same
├── Volume +50%: Revenue +20%
└── Need 25%+ volume increase to break even
If fee rises to 0.6%:
├── Same volume: Revenue +20%
├── Volume -20%: Revenue = Same
├── Volume -10%: Revenue +8%
└── Can lose 16.7% volume and break even
YOUR CALCULATION:
├── Current fee revenue: $X/day your share
├── Fee change: ±Y%
├── Volume change estimate: ±Z%
├── New revenue: $X × (1±Y%) × (1±Z%)
└── Is new revenue > old revenue?
EXAMPLE:
Your share: $10/day at 0.5% fee
Fee proposal: Increase to 0.6%
You estimate: Volume will drop 10%
New revenue: $10 × (1.20) × (0.90) = $10.80
Improvement: +8%
Conclusion: Support the fee increase
```
ACTIVE GOVERNANCE TRIGGERS
ENGAGE WHEN:
You're in top-8
Fee is clearly suboptimal
Governance is being manipulated
Major market changes
DON'T ENGAGE WHEN:
Fee seems reasonable
You don't understand dynamics
Position is small
✅ Fee directly affects returns. Higher fee = more revenue per trade. This is arithmetic.
✅ Top-8 mechanism determines fee. The weighted average calculation is deterministic.
✅ Coordination improves governance outcomes. Single voices matter less than consensus.
⚠️ Optimal fee for any given pool. Theory provides framework; practice requires experimentation.
⚠️ Volume elasticity to fee changes. How much volume will change with fee is always estimated.
⚠️ Coordination effectiveness. Other LPs may not cooperate despite good arguments.
📌 Ignoring governance entirely. Your returns depend on it; ignorance isn't protection.
📌 Voting without analysis. Random votes can hurt pool and your returns.
📌 Assuming you can control outcome. Even top-8 LPs have limited individual control.
Assignment: Analyze governance for one pool you're in or considering.
- Top-8 LP identification and vote analysis
- Current fee assessment (appropriate/not)
- Your voting power and strategy
- Recommendations for fee optimization
- Governance health score
Time Investment: 1.5 hours
End of Lesson 11
Word count: ~4,800
Key Takeaways
Your vote matters if you're top-8.
Otherwise it's recorded but doesn't count.
Fee optimization requires analysis.
Higher isn't always better; lower isn't always better.
Coordination multiplies influence.
Work with other LPs for meaningful change.
Governance is part of due diligence.
Check governance health before depositing.
Vote wisely or not at all.
Uninformed votes can harm pool health and your returns. ---