Skip to main content
3 tables in this category.

Tables

  • agent.hyperevm_dex_trades

Sample Queries

1. Get recent Transfer events for USDC

2. Count transactions per day for the last week

Table Schemas

agent.hyperliquid_market_data

Hourly perpetual futures market snapshots from Hyperliquid Info API. Includes funding rates, open interest, prices (oracle, mark, mid), 24h volume, and premium for all listed perpetual contracts. ReplacingMergeTree — use FINAL. Engine: ReplacingMergeTree | Partition: toYYYYMM(snapshot_date) | ORDER BY: coin, snapshot_time
  • Use FINAL when querying — this is a ReplacingMergeTree table
  • snapshot_time is hourly — one snapshot per (coin, hour)
  • day_ntl_vlm is 24h notional volume in USD at snapshot time
  • funding is the current predicted funding rate (annualize by multiplying by 8760)
  • open_interest is in contract units, not USD — multiply by mark_px for USD OI
  • Hourly snapshots only — no tick-level or trade-level data
  • ReplacingMergeTree — always use FINAL for consistent reads
  • OI is in contract units, not USD — requires multiplication by price
  • Not all fields are always populated (mid_px, impact_bid/ask_px can be null)

agent.hyperliquid_funding_rates

Historical funding rate settlements for Hyperliquid perpetual contracts. Every 1-hour funding event is recorded with the settlement rate and premium. ReplacingMergeTree — use FINAL. Engine: ReplacingMergeTree | Partition: toYYYYMM(funding_date) | ORDER BY: coin, time
  • Use FINAL when querying — ReplacingMergeTree table
  • funding_rate is per-settlement-period (hourly). Annualize: rate * 8760
  • premium tracks the basis between mark and oracle price at settlement
  • For average daily funding: avg(funding_rate) grouped by funding_date and coin
  • ReplacingMergeTree — use FINAL for deduplication
  • Funding rates are per-hour settlements — not continuous
  • Historical backfill depth depends on when the pipeline was started

agent.hyperliquid_perp_meta

Perpetual contract metadata for all listed Hyperliquid perps. Small dimension table with coin name, size decimals, and maximum leverage. Updated on each market data ingestion run. Engine: ReplacingMergeTree | ORDER BY: coin
  • Small table (~229 rows) — safe to SELECT * or use in subqueries without filtering
  • JOIN with market_data or funding_rates ON coin for enrichment
  • sz_decimals determines the minimum trade size increment for each contract
  • Only covers perpetual contracts — no spot or options metadata
  • Max leverage may change over time — only current value is stored