The formula
Pis the execution price, 0 < P < 1.kis a period-specific coefficient.outcomeTokensis the number of outcome tokens traded.- The curve peaks at
P = 0.5(max uncertainty) and decays to 0 at the extremes. - Both sides of every fill pay this fee. The exchange contract
charges each leg of a fill at the
feeRateBpsthe user signed into the EIP-712Order, deducted from the asset that leg receives (collateral on SELL, outcome tokens on BUY). Every signed Order carries the market’s livefeeTakerBps, so there is no zero-fee maker leg. - Maker rate (
RND-2185). On a generation-2 market whose exchange charges makers their own rate, the resting (maker) leg of a fill is charged the market’sfeeMakerBpsinstead, never more thanfeeTakerBps. Orders are still signed withfeeRateBps = feeTakerBps; the exchange applies the maker rate to the resting leg at the fill. Everywhere else (generation-1 markets, and exchanges that charge no maker rate)feeMakerBpsequalsfeeTakerBpsand both legs pay the same rate.
Why quadratic (not linear)?
At the samefeeRateBps, the linear min(P, 1−P) curve (Polymarket’s
default) charges twice as much at the top of the book. Away from
P = 0.5 the two curves converge, and both reach zero at the extremes.
Fee per outcome token, in units of k (feeRateBps / 10_000):
Effective
feeRateBps ↔ k: feeRateBps = k × 10_000. The platform
default rates (makerBps / takerBps, the same for every wallet) are
available at GET /api/me/fee-tier.
Three fee surfaces — which one to use
The API exposes three fee surfaces; partners often ask which one “actually applies.” Short answer:
A worked example for a market whose rate is overridden to
100 while
the platform default is 140:
The on-chain charge uses
100 because that is what the signed Order
carries, and each /api/me/fees row records the fee amount taken on
that leg. There is no per-wallet discount at fill time.
Charging direction and denomination
The asset the fee is taken in is determined by which side of the fill each party held — the same rule applies regardless of maker/taker role:- Seller (whichever side is sending outcome tokens for collateral):
fee deducted from collateral proceeds in USDC.
fee_collateral = k × P × (1−P) × outcomeTokens. - Buyer (whichever side is sending collateral for outcome tokens):
fee deducted in outcome tokens (an in-kind share haircut).
fee_tokens = k × (1−P) × outcomeTokens.
/api/me/fees carries one row per
denomination per trade (unit ∈ {USDC, OUTCOME_TOKENS},
role ∈ {maker, taker}).
How fees appear in the API responses
Per-trade fills (GET /api/orders/{id}/fills and GET /api/me/trades)
Trade rows carry fee together with feeUnit (and feeTokenId for in-kind fees), and role:
role (RND-2185) is the wallet’s leg of the fill: maker when its order
was resting, taker when it crossed. It tells which of the market’s rates
applied (feeMakerBps or feeTakerBps as they stood at the fill). On
GET /api/orders/{id}/fills it is keyed by the order, so a self-trade’s taker
order reads taker; on GET /api/me/trades a self-trade reads maker. The
synchronous trades[] of POST /api/orders/place and place-batch omit it:
those fills are the placed order crossing (taker).
Read feeUnit before interpreting fee. This is a BUY leg, so the fee is
denominated in outcome tokens — the in-kind share haircut, not dollars
(k × (1 − P) × quantity = 0.04 × 0.48 × 100 = 1.92 YES, matching the
worked example below). The seller-side collateral formula
k × P × (1 − P) × outcomeTokens yields a different quantity in a different
asset, so the two are not interchangeable: never sum fee across legs
without checking feeUnit first.
Order fees summary (GET /api/orders/{id}/fees-summary)
To read the total fees charged across the matched, settling and settled fills of a single order
(failed fills are not counted), call GET /api/orders/{id}/fees-summary:
feeUsdc: Sum of collateral-side fees charged across all SELL-leg fills of this order.feeShares: Sum of outcome-token haircuts deducted across all BUY-leg fills of this order.feeShareTokenId: CTF ERC-1155 token ID of the fee shares (ornullif no BUY fills exist).byRole: the same two totals split by the order’s role on each fill:makerwhere the order rested in the book,takerwhere it crossed it. A LIMIT order can fill partly as taker on arrival and partly as maker once it rests, at two different rates. Each pair sums tofeeUsdc/feeShares.
"0".
Match response (POST /api/orders/place and place-batch)
The synchronous trades[] in the POST /api/orders/place /
place-batch response carries fee only, with no feeUnit. It is the
trade-level USDC figure k × P × (1 − P) × quantity, even on a BUY leg
that was charged in outcome tokens, so read the per-leg fee from the
endpoints above or GET /api/me/fees.
For per-fill audit, use GET /api/me/fees.
On-chain equivalence
The off-chain fee matches the on-chain fee charged byCTFExchange
at settlement time, modulo integer-division rounding (≤ 1 atomic USDC
unit). Same feeRateBps value signs into the EIP-712 Order.
Fee cap
Contract enforcesfeeRateBps ≤ MAX_FEE_RATE_BIPS (1000). Peak-at-0.5
at the cap is 2.5%. Raising requires Board approval and redeploy.
Examples
Rebates
The schedule covers fees. Rebates to market makers are a separate programme and are not reflected in/api/me/fees. They are paid on
the cadence set in your market-maker terms (weekly or monthly). Contact
partners@predictstreet.com.