Fee Structure
How Fees Work in DLMM
Swap → Fee charged → Stored in bins → LPs collect shareFee Components
Base Fee
interface PairParameters {
base_factor: string; // Base fee rate (e.g., 3000 = 0.3%)
protocol_share: string; // Protocol's share (e.g., 1000 = 10%)
}
// Example: 0.3% base fee
const baseFeePercent = Number(pair.parameters.base_factor) / 10000;Variable Fee
Fee Accumulation in Bins
LP Fee Share Calculation
Protocol Revenue
Fee Tiers by Pair Type
Pair Type
Base Fee
Typical Range
Viewing Pair Fees
Fee Collection Process
Estimating Fee Income
Key Points
Related Topics
Last updated