Skip to main content

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.

The DBC rate limiter is a base fee mode that increases the fee as buy size increases. It is designed for launches where the main risk is not only who buys first, but how much they buy. Small buys can pay the starting fee, while larger buys pay a higher average fee during the limiter window.

How It Works

The rate limiter uses four core settings.
SettingProduct Meaning
Cliff feeThe starting fee for buys up to the reference amount.
Reference amountThe trade size unit used to calculate fee tiers.
Fee increment bpsHow much the fee increases for each additional reference amount.
Max limiter durationHow long the limiter stays active after launch.
In product terms, the rate limiter behaves like fee brackets.
Small buy  -> base fee
Medium buy -> higher average fee
Large buy  -> even higher average fee

Example

Assume:
  • Reference amount: 1 SOL.
  • Cliff fee: 1%.
  • Fee increment: 1%.
Then:
Buy SizeProduct Behavior
1 SOLPays the starting fee.
2 SOLPays a higher average fee.
3 SOLPays a higher average fee again.
This does not block large buys. It makes large buys more expensive during the configured launch window. It also helps protect the fee design at the transaction level. When the limiter is active, the program validates single-swap behavior for the pool so traders cannot easily split one large buy into multiple swaps inside the same transaction. For exact-in swaps, the limiter derives the fee from the included input amount. For exact-out swaps, it derives the fee from the excluded amount and performs a conservative reverse calculation, so different swap modes can produce slightly different effective limiter behavior.

Requirements

Rate limiter mode has important constraints.
RequirementProduct Meaning
Quote Token collect fee modeRate limiter is designed for quote-token fee collection.
Buy-side behaviorIt applies to quote-to-base buys, not regular sell-side behavior.
One base fee modeIt is mutually exclusive with the fee scheduler modes.
Max durationThe limiter duration is capped at 12 hours.
Fee boundsThe starting fee must stay within DBC’s bonding phase fee bounds.
Single-swap validationActive rate limiter trades are checked so a transaction cannot bundle multiple swaps for the same pool to bypass the limiter.
The 12-hour cap is represented as 43,200 seconds for timestamp activation or 108,000 slots for slot activation. If reference_amount, max_limiter_duration, and fee_increment_bps are all zero, rate limiter mode behaves like a fixed cliff-fee mode.
Rate limiter should be used when the launch specifically wants buy-size-sensitive fees. If the launch only needs time-based fee decay, use a linear or exponential scheduler instead.

Why Use Rate Limiter

Discourage Oversized Buys

Very large launch buys can become progressively more expensive.

Protect Early Distribution

The fee slope can reduce the advantage of a single large first mover.

Preserve Small Buyer Access

Smaller buys can still use the starting fee while larger buys move into higher tiers.

Short Launch Window

The limiter is meant for early launch protection, not permanent pool behavior.

When To Choose It

Choose rate limiter when:
  • The launch expects aggressive large buys.
  • The goal is to make large buys less attractive without fully preventing them.
  • The launch wants fee protection based on size rather than time.
  • Fees should return to the base level after the limiter window ends.