Deep Dive into the HIP-4 Fee Mechanism
The Hyperliquid team has rolled out a significant update to its official documentation, providing comprehensive clarification on the fee structures associated with "outcome tokens" under the HIP-4 proposal. This move is designed to enhance transparency and predictability for both developers and users navigating the platform.
Core Principle: Fee-on-Exit
A cornerstone of the clarified logic is the timing of fee collection. The documentation states that users will incur no fees when initially opening a position or acquiring outcome tokens. Charges are applied solely at the point of closing a position or during the final settlement process. This "fee-on-exit" model lowers the initial capital requirement and barrier to entry for traders.
Six Scenarios and Variable Fee Logic
The update meticulously outlines fee applications across six distinct operational scenarios:
- Minting: Creating new outcome tokens is free of charge.
- Normal Trading: Buying and selling tokens on the market follows standard fee schedules.
- Burning: Destroying held outcome tokens.
- Settlement: Final settlement upon contract expiry or condition fulfillment.
- Furthermore, the specific fee logic can vary depending on the identity of the "payer" in a transaction, with detailed rules available in the full documentation.
Trading Cost Optimization: Taker Fee Reduction
To incentivize liquidity and specific trading behaviors, the documentation highlights a key benefit: if a user trades with a quote token that is "aligned" with the system's designated benchmark, they can qualify for a reduction of up to 20% on the taker fee for that transaction. This mechanism directly lowers costs for eligible active traders.
Implications for the Developer Ecosystem
Beyond serving end-users, a strategically important aspect of this update is the public release of the complete fee calculation formulas to the developer community. This provides crucial technical groundwork for third-party developers, analytics tool builders, and advanced users to perform precise cost calculations, strategy backtesting, and product integration, fostering a more robust ecosystem around the platform.