Loading
One row per fill leg on a Hyperliquid HIP-4 outcome (prediction) market: both sides of every match, plus the engine legs that mint, burn and settle outcome tokens. fill_type separates trades from the rest. A match is either two legs on the same token (a buyer and a seller, sharing a trade_id) or one leg on each side of the market (a Yes buyer matched with a No buyer, or a Yes seller with a No seller) at prices that sum to 1; those legs carry their own trade_ids and sit at consecutive event_index in the same block. sum(amount_usd) counts every match twice; filter is_taker and fill_type = 'trade' for traded volume. Because both legs and every fill type are present, start_position gives each account's balance before every change, so positions and open interest reconstruct exactly. Market metadata lives in hip4_hyperliquid.market_details; join on market_id.