HyperLiquid Tables
HyperLiquid tables and views covering raw fills, aggregated orders, wallet state, perpetual DEX metadata and outcome market metadata.
Last updated: 2026-11-24 00:56 UTC
Tables and views (9)
| Table | Rows | Size |
|---|---|---|
| agg_fulfilled_order | 0 | 0 B |
| outcome_coin_meta | — | View |
| outcome_deployer_meta | 4 | 1.3 KB |
| outcome_meta | 28,355 | 894.5 KB |
| outcome_question_meta | 263 | 24.0 KB |
| perp_dex_meta | 10 | 4.0 KB |
| raw_node_fills_by_block | 4,127,413,254 | 302.83 GB |
| view_perpetual_wallet | — | View |
| view_wallet_position | — | View |
agg_fulfilled_order
| Statistic | Value |
|---|---|
| Engine | AggregatingMergeTree |
| Rows | 0 |
| Size | 0 B |
| Partition Key | toYYYYMM(utc_first_fill_dt) |
| Sorting Key | wallet_address, order_id |
| TTL | utc_first_fill_dt + toIntervalDay(90) |
| Column | Type | Description |
|---|---|---|
utc_first_fill_dttm | SimpleAggregateFunction(min, DateTime64(3, 'UTC')) | UTC datetime of the first fill for this order |
utc_first_fill_dt | Date | UTC date of the first fill (for partitioning) |
order_id | Int64 | Unique order identifier |
wallet_address | String | Wallet address of the trader |
coin | String | Trading pair symbol (e.g., BTC, ETH) |
side | String | Trade side (Buy/Sell) |
twap_id | Nullable(Int64) | TWAP order identifier (if part of TWAP) |
size | SimpleAggregateFunction(sum, Float64) | Total filled size (in contracts) |
volume | SimpleAggregateFunction(sum, Float64) | Total filled volume in USD |
closed_pnl | SimpleAggregateFunction(sum, Float64) | Realized PnL from this order |
outcome_coin_meta
One row per outcome side from outcome_meta FINAL. Maps fill coin identifiers to readable metadata; coin is '#' followed by outcome * 10 + side. Side indices start at zero and template side names are resolved with attrs.
| Statistic | Value |
|---|---|
| Type | View (computed at query time) |
| Column | Type | Description |
|---|---|---|
coin | String | Fill coin identifier: '#' followed by the decimal value of outcome * 10 + side |
outcome | UInt32 | Numeric outcome-market identifier |
side | Int64 | Zero-based side index within the outcome market |
side_name | String | Readable side name after template substitution |
name | String | Outcome market name |
description | String | Outcome market description |
attrs | Map(String, String) | Outcome metadata attributes |
question | Nullable(UInt32) | Parent question identifier, when present |
is_fallback | Bool | Whether this is a fallback outcome |
quote_token | LowCardinality(String) | Quote token for the outcome market |
venue | LowCardinality(Nullable(String)) | Associated outcome venue, when known |
first_seen_at | DateTime('UTC') | UTC timestamp when the outcome was first observed |
updated_at | DateTime('UTC') | UTC timestamp of the source metadata update |
outcome_deployer_meta
Outcome deployer and venue metadata. Use FINAL for the current version per deployer and venue.
| Statistic | Value |
|---|---|
| Engine | ReplacingMergeTree |
| Rows | 4 |
| Size | 1.3 KB |
| First Record | 2026-11-24 |
| Last Record | 2026-11-24 |
| Sorting Key | deployer, venue |
| Column | Type | Description |
|---|---|---|
deployer | String | Outcome deployer address |
venue | LowCardinality(String) | Venue associated with the deployer |
sub_deployers | String | Serialized sub-deployer metadata |
updated_at | DateTime('UTC') | UTC metadata update timestamp and replacement version |
outcome_meta
Outcome market metadata, including side templates, attributes, quote asset and optional question linkage. Use FINAL for the current version per outcome.
| Statistic | Value |
|---|---|
| Engine | ReplacingMergeTree |
| Rows | 28,355 |
| Size | 894.5 KB |
| First Record | 2026-10-09 |
| Last Record | 2026-11-24 |
| Sorting Key | outcome |
| Column | Type | Description |
|---|---|---|
outcome | UInt32 | Numeric outcome-market identifier |
name | String | Outcome market name |
description | String | Outcome market description |
attrs | Map(String, String) | Outcome attributes used by metadata and side-name templates |
side_names | Array(String) | Ordered outcome side names or templates; side indices start at zero |
quote_token | LowCardinality(String) | Quote token for the outcome market |
venue | LowCardinality(Nullable(String)) | Associated outcome venue, when known |
deployer_fee_scale | Nullable(Float64) | Deployer fee scale reported in metadata, when available |
question | Nullable(UInt32) | Parent question identifier, when present |
is_fallback | Bool | Whether this is a fallback outcome |
first_seen_at | DateTime('UTC') | UTC timestamp when the outcome was first observed |
updated_at | DateTime('UTC') | UTC metadata update timestamp and replacement version |
outcome_question_meta
Outcome questions and their named, settled and fallback outcome identifiers. Use FINAL for the current version per question.
| Statistic | Value |
|---|---|
| Engine | ReplacingMergeTree |
| Rows | 263 |
| Size | 24.0 KB |
| First Record | 2026-10-09 |
| Last Record | 2026-11-23 |
| Sorting Key | question |
| Column | Type | Description |
|---|---|---|
question | UInt32 | Numeric question identifier |
name | String | Question name |
description | String | Question description |
attrs | Map(String, String) | Question metadata attributes |
fallback_outcome | Nullable(UInt32) | Fallback outcome identifier, when present |
named_outcomes | Array(UInt32) | Outcome identifiers attached to this question |
settled_named_outcomes | Array(UInt32) | Named outcome identifiers recorded as settled |
first_seen_at | DateTime('UTC') | UTC timestamp when the question was first observed |
updated_at | DateTime('UTC') | UTC metadata update timestamp and replacement version |
perp_dex_meta
Perpetual DEX metadata with deployer, oracle/fee accounts, collateral token and asset counts. Use FINAL for the current version per dex_name.
| Statistic | Value |
|---|---|
| Engine | ReplacingMergeTree |
| Rows | 10 |
| Size | 4.0 KB |
| First Record | 2026-11-24 |
| Last Record | 2026-11-24 |
| Sorting Key | dex_name |
| Column | Type | Description |
|---|---|---|
dex_name | String | Perpetual DEX namespace |
dex_index | UInt16 | Numeric DEX index |
full_name | String | Human-readable DEX name |
deployer | String | DEX deployer address |
oracle_updater | Nullable(String) | Oracle updater address, when configured |
fee_recipient | Nullable(String) | Fee recipient address, when configured |
collateral_token | Int32 | Collateral token index |
n_assets | UInt32 | Number of assets reported for the DEX |
n_live_assets | UInt32 | Number of live assets reported for the DEX |
sub_deployers | String | Serialized sub-deployer metadata |
updated_at | DateTime | Metadata update timestamp and replacement version |
raw_node_fills_by_block
| Statistic | Value |
|---|---|
| Engine | ReplacingMergeTree |
| Rows | 4,127,413,254 |
| Size | 302.83 GB |
| First Record | 2025-07-27 |
| Last Record | 2026-11-24 |
| Partition Key | utc_fill_dt |
| Sorting Key | block_id, block_tx_idx |
| Column | Type | Description |
|---|---|---|
utc_fill_dttm | DateTime64(3, 'UTC') | UTC datetime of the fill (millisecond precision) |
utc_fill_dt | Date | UTC date of the fill (for partitioning) |
fill_id | Int64 | Unique fill identifier |
fill_hash | String | Hash of the fill |
fill_type | String | Type of fill (trade, liquidation, etc.) |
utc_block_dttm | DateTime64(9, 'UTC') | UTC datetime of the block (nanosecond precision) |
block_id | Int64 | HyperLiquid block number |
block_tx_idx | UInt16 | Transaction index within the block |
wallet_address | String | Wallet address of the trader |
coin | String | Trading pair symbol (e.g., BTC, ETH) |
price | Float64 | Execution price |
size | Float64 | Fill size (in contracts) |
side | String | Trade side (Buy/Sell) |
start_position | Float64 | Position size before fill |
closed_pnl | Float64 | Realized PnL from this fill |
order_id | Int64 | Order identifier |
order_crossed_spread_flg | Bool | Whether order crossed the spread |
fee | Float64 | Trading fee |
fee_token | String | Token used for fee payment |
client_order_id | Nullable(String) | Client-provided order ID |
builder_fee | Nullable(Float64) | Builder/API fee |
builder | Nullable(String) | Builder/API identifier |
liquidation_user | Nullable(String) | User being liquidated (if liquidation) |
liquidation_mark_px | Nullable(Float64) | Mark price at liquidation |
liquidation_method | Nullable(String) | Liquidation method used |
twap_id | Nullable(Int64) | TWAP order identifier |
deployer_fee | Nullable(Float64) | Deployer fee for spot tokens |
priority_gas | Nullable(Float64) | Priority gas fee paid for inclusion (in USDC) |
sub_builders | String | Default: '' |
view_perpetual_wallet
| Statistic | Value |
|---|---|
| Type | View (computed at query time) |
| Column | Type | Description |
|---|---|---|
wallet_address | String | Wallet address of the trader |
total_pnl | Float64 | Total realized profit and loss across all positions |
total_volume | Float64 | Total trading volume in USD |
cnt_unique_orders | UInt64 | Count of unique orders placed |
last_utc_order_dt | SimpleAggregateFunction(max, Date) | UTC date of the most recent order |
win_count | UInt64 | Number of profitable trades |
total_count | UInt64 | Total number of completed trades |
sum_order_roi | Float64 | Sum of return on investment across all orders |
sum_profitable_pnl | Float64 | Sum of PnL from profitable trades |
cnt_profitable_orders | UInt64 | Count of profitable orders |
sum_unprofitable_pnl | Float64 | Sum of PnL from unprofitable trades (negative) |
cnt_unprofitable_orders | UInt64 | Count of unprofitable orders |
cnt_unique_coins | UInt64 | Number of unique trading pairs traded |
cnt_trade_days | UInt64 | Number of distinct days with trading activity |
roi_quantiles | Array(Float64) | ROI distribution quantiles for the wallet |
view_wallet_position
| Statistic | Value |
|---|---|
| Type | View (computed at query time) |
| Column | Type | Description |
|---|---|---|
wallet_address | String | Wallet address of the trader |
coin | String | Trading pair symbol (e.g., BTC, ETH) |
last_position_size | Float64 | Current position size (positive=long, negative=short) |
last_position_update_dttm | DateTime64(3, 'UTC') | UTC datetime of the last position update |