The DAMM v2 rate limiter is a base fee mode that increases the effective fee as buy size increases. It is designed for launch pools where oversized early buys can distort distribution or create a poor trading experience. Instead of charging every buy the same fee, the rate limiter behaves like a fee slope.Documentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
The pool defines a reference amount. Buys up to that amount pay the cliff fee. As the token B input amount grows beyond the reference amount, DAMM v2 applies higher fee tiers until the configured maximum fee is reached. In product terms, a small buy may pay the base fee, while a much larger buy pays a higher average fee.Key Settings
| Setting | Product Meaning |
|---|---|
| Cliff fee numerator | Starting fee for the first reference amount |
| Reference amount | Trade size unit used for the fee slope |
| Fee increment bps | How much the fee increases per step |
| Max fee bps | Highest fee the limiter can charge |
| Max limiter duration | How long the limiter is active after launch |
Requirements
Rate limiter mode has specific product constraints:- It applies only when the trade direction is B-to-A.
- It is valid only with
OnlyBcollect fee mode. - It starts at the activation point and lasts only through the configured limiter duration.
- DAMM v2 validates that rate-limited swaps are not bundled as multiple swaps against the same pool in one transaction.
- The limiter duration is capped at 12 hours:
43,200seconds for timestamp activation or108,000slots for slot activation.
If
reference_amount, max_limiter_duration, max_fee_bps, and fee_increment_bps are all zero, the rate limiter acts as a fixed cliff-fee mode.Why Use It
Discourage Oversized Buys
Larger launch buys can pay progressively higher fees.
Protect Early Distribution
The fee slope helps reduce the advantage of very large first movers.
Quote Token Fee Capture
Fees are aligned with quote-token collection, which is common for launches.
Short Launch Window
The limiter is meant for early trading, not permanent pool behavior.

