# Builder Fees & Benefits Builders earn from two sources on the same trader: the **builder fee**, paid by the user, and **referral commission**, paid by TxFlow out of the trading fee. Growth incentives come on top. ## Builder fees - You set the fee per order with `f`, up to the user's approved rate and the market cap. - The user pays it on top of the TxFlow trading fee. It never changes TxFlow's own fee. - Fees accrue on every fill. Claim any time with [`claimBuilderRewards`](/api/exchange/claimBuilderRewards.md), free of charge. - No builder fee is charged on liquidation or ADL fills. | Market | Max builder fee | |---|---| | Perpetuals | 0.1% (10 bps) | | Spot | 1% (100 bps), sell fills only | | Prediction markets | 1% (100 bps) | ``` Total fee paid by the user = TxFlow trading fee + builder fee ``` ### Spot: sell fills only On spot, the builder fee is **one-sided**: it is charged only when your user's order **sells** the base asset, never when it buys. | Your user's spot fill | Builder fee | Paid in | |---|---|---| | Sell | `fill notional × your rate` | USDC, deducted from the quote the user receives | | Buy | None | — | - A buy order still accepts your builder object and still fills — the fee rate on it is simply never charged, so there is nothing to reject or retry. - It applies whether the sell is the maker or the taker side of the fill. - The TxFlow spot trading fee is separate and charged on **both** sides: in the base asset on a buy, in the quote asset on a sell (see [Fees & Discounts](/trade/fees.md)). So spot earnings depend on how much of your users' spot volume is selling, not on total spot volume — a user who buys $10,000 of a token and later sells it pays the builder fee once, on the sell. Price your spot rate and show it in your ticket with that in mind. ## Referral commission Traders who bind your [referral code](/trade/referral.md) earn you a share of their net perpetual trading fees, after their discount. | Item | Rule | |---|---| | Commission rate | 10% of the trader's net perpetual trading fees | | Trader discount | 5% off spot and perpetual fees on the trader's first $25M combined volume | | Markets covered | Perpetuals only. On spot and prediction markets you earn the builder fee only | | Settlement | Daily, credited to your Perps account | | Traders referred by someone else | You still earn your full builder fee. The commission stays with their original referrer | | Fee stacking | Each fill pays one TxFlow commission (referral or [affiliate](/trade/affiliate.md)); your builder fee is charged separately on top | ## Growth incentives Eligible builders can unlock commission boosts, builder points, grants and co-marketing opportunities as they grow. | Tier | Referral commission | Main benefits | |---|---|---| | Builder | 10% | Builder points, ecosystem listing, docs and community channel | | Partner | Commission boost (subject to review) | Integration grants, co-funded competitions, joint launch, customized partnership | | Strategic | Commission boost (subject to review) | Ecosystem fund, co-branded campaigns, early access to new markets, customized partnership, 24/7 support | Partner and Strategic tiers are by review. **Contact the TxFlow BD team for a customized partnership.** **Builder points:** builders earn points on volume routed with their builder code. Volume flagged by risk controls is excluded. Points follow the [Points Program Terms](/terms/points-program-terms.md). ## Earnings examples Illustrative only. Actual earnings depend on your users' volume, your fee rate and which traders are bound to your referral code. ### Example 1: perpetuals A trader bound to your referral code generates $1,000,000 in perpetual taker volume at VIP 0, with a 0.045% [trading fee](/trade/fees.md) and a 0.05% builder fee. | Item | Amount | |---|---| | Builder fee (0.05%) | $500.00 | | TxFlow perpetual fee after the trader's 5% discount | $427.50 | | Your referral commission (10%) | $42.75 | | **You earn** | **$542.75** | ### Example 2: prediction markets Your users trade $1,000,000 on prediction markets, with a 0.5% builder fee. | Item | Amount | |---|---| | Builder fee (0.5%) | $5,000.00 | | Referral commission | Not applicable | | **You earn** | **$5,000.00** | ### Example 3: spot Your users trade $1,000,000 on spot — $600,000 of buys and $400,000 of sells — with a 0.5% builder fee. | Item | Amount | |---|---| | Builder fee on buys ($600,000) | $0.00 | | Builder fee on sells ($400,000 × 0.5%) | $2,000.00 | | Referral commission | Not applicable | | **You earn** | **$2,000.00** |