Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.allium.so/llms.txt

Use this file to discover all available pages before exploring further.

The hyperliquid.predictions.metrics_daily table provides daily activity, fee, user, and open interest metrics for Hyperliquid HIP-4 prediction markets. One row per (day, category, sub_category).
HIP-4 categories: price_binary (Recurring auto-generated price markets), categorical (named outcomes under a question), binary (orphan named outcomes). sub_category is the Recurring underlying asset (e.g. ‘BTC’); ‘none’ for non-Recurring categories.

Table Columns

Identifiers

Column NameDescription
projectAlways ‘hyperliquid’.
protocolAlways ‘hyperliquid_hip4’.
chainAlways ‘hyperliquid’.
dayDate bucket (UTC).
categoryOne of ‘price_binary’, ‘categorical’, ‘binary’.
sub_categoryUnderlying asset for Recurring categories (e.g. ‘BTC’). ‘none’ for non-Recurring categories.

Volume & Trade Counts

Column NameDescription
trading_volume_usdUSDH-denominated trade volume for the day.
notional_volumeTrade volume in HL contract units (1 contract = $1 USDH locked at mint). Different scale from share-based platforms; prefer trading_volume_usd for cross-platform comparison.
trade_countTrade count for the day.
avg_trade_size_usdAverage trade size in USD for the day.
median_trade_size_usdMedian trade size in USD for the day.

Fees

Column NameDescription
total_fee_usdTotal transaction fee revenue in USD.
total_buyer_fee_usdUSDH-denominated buyer-side fee revenue.
total_seller_fee_usdUSDH-denominated seller-side fee revenue.
total_builder_fee_usdTotal builder fee revenue in USD.

Synthetic Mints

Column NameDescription
synthetic_mint_volume_usdUSD volume of synthetic mints.
synthetic_mint_countSynthetic mint count for the day.

Market Coverage

Column NameDescription
markets_tradedDistinct events traded (multi-outcome questions count as one event).
outcomes_tradedDistinct outcomes traded.
coins_tradedDistinct side-tokens traded.

Users

Column NameDescription
active_usersDistinct addresses across maker and taker roles. An address acting as both in the same day counts once.
active_makersDistinct maker addresses.
active_takersDistinct taker addresses.

Open Interest

Column NameDescription
total_open_interest_usdTotal open interest in USD for the day.
markets_with_oiDistinct events with open interest on the day.

Cumulative

Column NameDescription
cumulative_trading_volume_usdAll-time USD volume up to and including the day, scoped to (category, sub_category).
cumulative_notional_volumeAll-time notional volume up to and including the day, scoped to (category, sub_category).
cumulative_trade_countAll-time trade count up to and including the day, scoped to (category, sub_category).

Lineage

Column NameDescription
unique_idDeterministic unique identifier per row.
_created_atRow creation timestamp.
_updated_atRow last update timestamp.

Sample Query

SELECT
  day,
  category,
  sub_category,
  trading_volume_usd,
  trade_count,
  active_users,
  total_open_interest_usd,
  markets_with_oi
FROM hyperliquid.predictions.metrics_daily
WHERE day >= CURRENT_DATE - 30
ORDER BY day DESC, category, sub_category