skip to content
EBB
the mechanism

fees and builder codes

what a Hyperliquid builder fee is, how EBB's 0.05% of notional is calculated, and what you approve.

last updated 2 Dec 2026 · 516 words

what a builder code is

Hyperliquid lets a front end, called a builder, attach a builder code to the orders it sends on behalf of a user. when such an order fills, the builder receives a fee on the fill. the fee is set per order, collected in the quote asset (USDC), and shown in the user's fill as part of the total fee. it is separate from Hyperliquid's own trading fees.

EBB is a builder. the fee attached to EBB orders is 0.05% of notional.

the official reference is the Hyperliquid documentation on builder codes: https://hyperliquid.gitbook.io/hyperliquid-docs/trading/builder-codes.

how the fee is expressed

Hyperliquid expresses builder fees in tenths of a basis point. one basis point is 0.01%, so f = 10 means 0.01% of the order notional. EBB's fee is:

f = 50
50 tenths of a basis point = 5 basis points = 0.05%

the cap set by Hyperliquid is 0.1% on perps (f = 100) and 1% on spot. EBB's 0.05% is half the perps cap. builder codes apply to both sides of perp trades, and each of your fills, opening or closing, pays the fee.

notional, not margin

the fee is charged on notional, the size of the position in USD. leverage changes how much margin you post, not the notional.

notional = size × price
  • a $10,000 position costs $5.00 in builder fee on open, and $5.00 again on close, if the notional is still $10,000.
  • $500 of margin at 10× leverage opens a $5,000 position. the builder fee is $2.50 on open, not $0.25. leverage multiplied your exposure, and the fee follows exposure.
  • $2,000 of margin at 20× leverage opens a $40,000 position. the builder fee is $20.00 on open.
notional builder fee at 0.050%
$1,000 $0.50
$5,000 $2.50
$10,000 $5.00
$50,000 $25.00
$100,000 $50.00
$1,000,000 $500.00

at lower tiers the rate drops to 0.045%, 0.040% or 0.035% depending on how much $EBB you hold; see fee tiers.

what you approve on Hyperliquid

before a builder can charge you anything, you must approve a maximum builder fee for that builder through the ApproveBuilderFee action. the approval:

  • is signed by your main wallet, not by an API wallet.
  • sets the maximum fee the builder may charge you; the per-order fee cannot exceed it.
  • can be revoked by you at any time.
  • is one of at most 10 active builder approvals a user can hold.

the approval is not a token approval. it does not let the builder move your funds. it lets Hyperliquid deduct the builder fee from your fills, up to the maximum you set.

on the testnet site there is nothing to approve. the simulator sends no orders and no approvals.

where the fee goes

Hyperliquid credits builder fees to the builder, who claims them through the referral reward claim process. EBB claims each hour's fees, converts them to HYPE, bridges to Elysium, and buys $EBB on Montra. that $EBB is sent to the hour's traders pro rata to volume. see the hour, step by step and the distribution formula.

the fee is what you pay. the $EBB you receive is a share of what everyone paid, converted to a token. whether that share is worth more or less than your fee depends on the $EBB price at the turn and on your volume relative to others. see risks.