Onchain Atlas

Protocol Fee

A small cut of a protocol's transactions or activity that's routed to the protocol's treasury or token holders, rather than staying entirely with users or liquidity providers.

Also called: fee switch · protocol take rate · revenue skim

What it is

Most onchain protocols charge users some fee for the service they provide — swapping tokens, borrowing, minting, bidding. A protocol fee is the slice of that fee that goes to the protocol itself (its treasury, its token holders, or a designated recipient) rather than passing entirely to the people actually doing the work, like liquidity providers or lenders. It's how a protocol captures value from the activity it enables, turning usage into ongoing revenue.

How it works

  1. A protocol defines a total fee charged on some action — say, 0.3% on every swap, or a percentage of interest paid on a loan.
  2. That fee is split at the smart-contract level according to a fixed or governance-adjustable ratio: most commonly, the bulk goes to whoever supplied the underlying liquidity or capital, and a smaller slice — the protocol fee — is carved off separately.
  3. The protocol-fee portion is routed to a designated address: a DAO treasury, a fee-collector contract, or directly to a staking/buyback contract.
  4. Depending on the design, this carved-off fee accumulates in the treasury for governance to spend, gets distributed to token stakers as a yield, or is used to buy back and burn the protocol's token.
  5. Some protocols implement this fee as a literal "fee switch" — a governance-controlled toggle that can turn the protocol's cut on or off, or adjust its size, without changing the underlying user-facing fee.
  6. Because this fee is collected automatically at the contract level on every relevant transaction, it requires no manual invoicing or off-chain settlement — it's just a rerouted percentage of value that already flows through the protocol.

Why designers use it

  • Gives a protocol a sustainable revenue source tied directly to its usage, rather than relying solely on token sales or grants to fund operations.
  • Aligns token holders' financial interest with protocol growth, since more usage directly means more fee revenue captured for the treasury or token.
  • Lets a project fund ongoing development, audits, and grants without needing to raise additional capital.
  • Provides a lever (the fee switch) that governance can tune to balance competitiveness (lower fees attract more users) against revenue needs.

Failure modes

  • Fee-switch backlash: turning on or raising a previously-zero protocol fee can trigger user and liquidity-provider flight to cheaper competitors, especially in a fee-sensitive market like AMM swaps.
  • Governance capture: whoever controls the fee-switch parameter can direct real revenue toward themselves or allies, making the setting a target for political fights within the DAO.
  • Adverse selection against LPs: if the protocol fee eats into liquidity providers' margins without changing the risk they bear, it can drive away liquidity, hurting the very system the fee depends on.
  • Regulatory exposure: a protocol that visibly extracts revenue and routes it to token holders can look more like a revenue-sharing security than a neutral piece of infrastructure, drawing regulatory attention.
  • Race-to-zero competition: in commoditized markets (like DEX swaps), competitors with a zero protocol fee can undercut a protocol that turns its fee on, forcing a difficult trade-off between revenue and market share.

What to check before using it

  • Model how sensitive your users and liquidity providers are to fee changes — test in a low-stakes environment before flipping a fee switch on for real.
  • Decide upfront who controls the fee parameter (governance vote, timelocked multisig, immutable constant) and how quickly it can change.
  • Compare your total fee (user fee plus protocol cut) against competitors to understand your competitive position, not just your own revenue math.
  • Get clarity on how routing fees to token holders might be viewed under securities law in your relevant jurisdictions.
  • Plan where the collected fees actually go and how transparently that spending is reported back to the community.

Experiments that used it · 2

Shown oldest first, so you can watch the design evolve.

PartyBid
A permissionless protocol that let strangers pool ETH into a single-auction 'party' to collectively win, then fractionalize, an NFT.
2021 technically successful commercially unsuccessful
FundingWorks
A non-speculative Ethereum crowdfunding primitive where supporters lock ETH inside a burnable (rage-quittable) soulbound NFT that streams to a creator over time, backing the person rather than a product.
2025 too early to judge