Builder codes

Hyperliquid Builder Codes and Builder Fees

A Hyperliquid builder code can let an app builder receive a fee on routed fills after the user approves a maximum builder fee. The key questions are the fee, the builder address, and how revocation works.

Last updated: 2026-06-11Last reviewed: 2026-06-11
Product boundary
HypeBasis does not currently offer wallet connection, order routing, or builder-fee approval. This page is a disclosure and education surface for future monetization readiness, not a trading workflow.

Direct answer

Hyperliquid builder codes let application builders receive a fee on fills they send for a user after the user approves a maximum fee for that builder. A code is only part of the question. The user also needs to see the builder address, maximum fee, example cost, whether the fee is additional to protocol fees, and how to revoke approval before signing anything.

How builder fees work

  • The user must approve a maximum builder fee for a builder address before orders can include that builder fee.
  • The approval action must be signed by the user's main wallet, not an agent or API wallet.
  • A future order can include a builder parameter with the builder address and the fee amount, which cannot exceed the approved maximum.
  • The official docs describe the fee amount in tenths of basis points, so a value of 10 equals 1 basis point.
  • Each user can hold at most 10 active builder-code approvals at a time, and permissions can be revoked at any time.
  • The currently approved maximum for any user-builder pair is publicly readable from the official API, so an approval is verifiable rather than hidden account state.

Documented fee caps

The examples below are simple cap math, not a quote, trade recommendation, or statement that HypeBasis currently charges a builder fee.

Perps

Cap: 0.1%

On a $10,000 perp fill, the documented maximum cap would equal $10 before considering protocol fees, funding, spread, or slippage.

Spot

Cap: 1%

On a $10,000 spot fill, the documented maximum cap would equal $100, but builder-code applicability differs by side and asset according to the official docs.

How revocation works

  • Approval is account state, not a one-time signature: it stays active until the user revokes it or replaces it with a different maximum.
  • The official docs state permissions can be revoked at any time; revocation is signed by the main wallet, the same way approval was.
  • Setting a new maximum for the same builder replaces the old one, and a revoked builder can no longer attach fees to future orders.
  • After revoking, the public approved-maximum read for that user-builder pair should reflect the change, which makes verification possible without trusting the app that requested approval.

For app builders

  • A builder address must hold at least 100 USDC in perps account value before fees can be collected, per the official docs.
  • Builder fees accrue to the builder and are claimed through the same claim flow the official docs use for referral rewards.
  • The fee is set per order by the builder parameter, capped by both the user's approved maximum and the documented per-market caps.
  • Nothing about a builder code changes execution, margin, liquidation, or funding; it only adds the disclosed fee to routed fills.

Disclosure checklist

  • Builder address shown before approval.
  • Maximum approved builder fee shown before approval.
  • Example cost shown on a representative trade size.
  • Clear statement about whether the fee is additional to protocol fees.
  • Revocation path explained before the user approves anything.

Common questions

Do I pay builder fees automatically on Hyperliquid?
No. A builder fee applies only after you sign an approval for that specific builder address with your main wallet, and only on orders that builder routes with the fee parameter attached. Trading directly on the official app without an approval involves no builder fee.
What is the maximum builder fee?
The official docs cap builder fees at 0.1% on perps and 1% on spot. Your own approval can set a lower maximum, and orders cannot exceed whichever limit is lower.
Is the builder fee added on top of normal trading fees?
Yes. A builder fee is additional to protocol maker or taker fees, funding, spread, and slippage. Any honest app shows the builder fee next to an example cost rather than blending it into one number.
How many builder approvals can I have?
The official docs allow at most 10 active builder-code approvals per user at a time.
How do I check what I have already approved?
The approved maximum for any user-builder pair is publicly readable from the official API, so you or any tool you use can verify the current state instead of relying on the app that asked for the approval.
How do I revoke a builder fee approval?
Sign a revocation with your main wallet, the same wallet that approved it. The official docs state permissions can be revoked at any time, and a revoked builder cannot attach fees to your future orders.
Are builder codes the same as referral codes?
No. A referral code may discount your protocol fees under the referral program. A builder code adds a separate, user-approved fee that pays the app routing your order. They are different programs with different caps and different beneficiaries.

What this page does not do

  • It does not connect a wallet or ask for a signature.
  • It does not approve a builder fee or route an order.
  • It does not estimate a user-specific fee from private account data.
  • It does not make trading cheaper, safer, or less risky.

Related tools

Risk notice
Crypto perpetuals and leveraged trading are high risk. You can lose money through liquidation, funding, slippage, oracle issues, protocol failures, and market volatility.

Sources

  • Supports: Builder-fee approval mechanics, builder fee limits, revocation, claiming, and visible builder-code economics.
  • Hyperliquid Docs: FeesAccessed 2026-06-12
    Supports: Rolling 14-day volume tiers, perps and spot fee schedules, staking discounts, referral fee limits, fee-model caveats, fee distribution to HLP, the assistance fund, and deployers, the assistance fund system address, and burn recognition of assistance-fund HYPE.
  • Hyperliquid Docs: RisksAccessed 2026-05-30
    Supports: Smart contract, L1, market liquidity, oracle manipulation, and open-interest cap risk framing.