Skip to content

Fees at a Glance

This page explains how fees work in the CommissionRoad protocol.

Earning Commissions

NFT owners earn commissions when transactions are routed through CommissionRoad using their NFT ID.

How It Works

  1. Fixed Amount — Commissions are submitted as a fixed amount of ETH or any supported token
  2. NFT Owner's Responsibility — The NFT owner (or integrating dapp) determines the commission amount before submitting the transaction
  3. Flexible Pricing — Whether you charge a flat fee or calculate a percentage of the transaction value, you decide the amount upfront

Example

If you want to charge 1% of a 10 ETH swap, you would calculate 0.1 ETH off-chain and pass that as the commission parameter.

Supported Tokens

Commissions can be collected in:

  • ETH — Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE as the token address
  • ERC20 Tokens — Use the token's contract address

Protocol Fees

The protocol collects fees from two sources: commissions and mints.

Commission Fees

When an NFT receives a commission a protocol fee is automatically deducted:

  1. Fee is calculated as: protocolFee = commission × protocolFeePercent
  2. The remaining amount is credited to the NFT owner's balance

NOTE

The protocolFeePercent is stored in the CommissionVault contract and can be read on-chain. It uses 18-decimal fixed point notation (e.g., 0.05e18 = 5%).

Mint Fees

A one-time fee is charged when minting a new CommissionRoad NFT:

  • Amount: Set by the protocol and stored in CommissionRoad.mintFee
  • Payment: Must be sent as ETH with the mint transaction