Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

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)

TableRowsSize
agg_fulfilled_order00 B
outcome_coin_meta—View
outcome_deployer_meta41.3 KB
outcome_meta28,355894.5 KB
outcome_question_meta26324.0 KB
perp_dex_meta104.0 KB
raw_node_fills_by_block4,127,413,254302.83 GB
view_perpetual_wallet—View
view_wallet_position—View

agg_fulfilled_order

StatisticValue
EngineAggregatingMergeTree
Rows0
Size0 B
Partition KeytoYYYYMM(utc_first_fill_dt)
Sorting Keywallet_address, order_id
TTLutc_first_fill_dt + toIntervalDay(90)
Columns:
ColumnTypeDescription
utc_first_fill_dttmSimpleAggregateFunction(min, DateTime64(3, 'UTC'))UTC datetime of the first fill for this order
utc_first_fill_dtDateUTC date of the first fill (for partitioning)
order_idInt64Unique order identifier
wallet_addressStringWallet address of the trader
coinStringTrading pair symbol (e.g., BTC, ETH)
sideStringTrade side (Buy/Sell)
twap_idNullable(Int64)TWAP order identifier (if part of TWAP)
sizeSimpleAggregateFunction(sum, Float64)Total filled size (in contracts)
volumeSimpleAggregateFunction(sum, Float64)Total filled volume in USD
closed_pnlSimpleAggregateFunction(sum, Float64)Realized PnL from this order
Example Query:
ClickHouse (hyperliquid)

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.

StatisticValue
TypeView (computed at query time)
Columns:
ColumnTypeDescription
coinStringFill coin identifier: '#' followed by the decimal value of outcome * 10 + side
outcomeUInt32Numeric outcome-market identifier
sideInt64Zero-based side index within the outcome market
side_nameStringReadable side name after template substitution
nameStringOutcome market name
descriptionStringOutcome market description
attrsMap(String, String)Outcome metadata attributes
questionNullable(UInt32)Parent question identifier, when present
is_fallbackBoolWhether this is a fallback outcome
quote_tokenLowCardinality(String)Quote token for the outcome market
venueLowCardinality(Nullable(String))Associated outcome venue, when known
first_seen_atDateTime('UTC')UTC timestamp when the outcome was first observed
updated_atDateTime('UTC')UTC timestamp of the source metadata update
Example Query:
ClickHouse (hyperliquid)

outcome_deployer_meta

Outcome deployer and venue metadata. Use FINAL for the current version per deployer and venue.

StatisticValue
EngineReplacingMergeTree
Rows4
Size1.3 KB
First Record2026-11-24
Last Record2026-11-24
Sorting Keydeployer, venue
Columns:
ColumnTypeDescription
deployerStringOutcome deployer address
venueLowCardinality(String)Venue associated with the deployer
sub_deployersStringSerialized sub-deployer metadata
updated_atDateTime('UTC')UTC metadata update timestamp and replacement version
Example Query:
ClickHouse (hyperliquid)

outcome_meta

Outcome market metadata, including side templates, attributes, quote asset and optional question linkage. Use FINAL for the current version per outcome.

StatisticValue
EngineReplacingMergeTree
Rows28,355
Size894.5 KB
First Record2026-10-09
Last Record2026-11-24
Sorting Keyoutcome
Columns:
ColumnTypeDescription
outcomeUInt32Numeric outcome-market identifier
nameStringOutcome market name
descriptionStringOutcome market description
attrsMap(String, String)Outcome attributes used by metadata and side-name templates
side_namesArray(String)Ordered outcome side names or templates; side indices start at zero
quote_tokenLowCardinality(String)Quote token for the outcome market
venueLowCardinality(Nullable(String))Associated outcome venue, when known
deployer_fee_scaleNullable(Float64)Deployer fee scale reported in metadata, when available
questionNullable(UInt32)Parent question identifier, when present
is_fallbackBoolWhether this is a fallback outcome
first_seen_atDateTime('UTC')UTC timestamp when the outcome was first observed
updated_atDateTime('UTC')UTC metadata update timestamp and replacement version
Example Query:
ClickHouse (hyperliquid)

outcome_question_meta

Outcome questions and their named, settled and fallback outcome identifiers. Use FINAL for the current version per question.

StatisticValue
EngineReplacingMergeTree
Rows263
Size24.0 KB
First Record2026-10-09
Last Record2026-11-23
Sorting Keyquestion
Columns:
ColumnTypeDescription
questionUInt32Numeric question identifier
nameStringQuestion name
descriptionStringQuestion description
attrsMap(String, String)Question metadata attributes
fallback_outcomeNullable(UInt32)Fallback outcome identifier, when present
named_outcomesArray(UInt32)Outcome identifiers attached to this question
settled_named_outcomesArray(UInt32)Named outcome identifiers recorded as settled
first_seen_atDateTime('UTC')UTC timestamp when the question was first observed
updated_atDateTime('UTC')UTC metadata update timestamp and replacement version
Example Query:
ClickHouse (hyperliquid)

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.

StatisticValue
EngineReplacingMergeTree
Rows10
Size4.0 KB
First Record2026-11-24
Last Record2026-11-24
Sorting Keydex_name
Columns:
ColumnTypeDescription
dex_nameStringPerpetual DEX namespace
dex_indexUInt16Numeric DEX index
full_nameStringHuman-readable DEX name
deployerStringDEX deployer address
oracle_updaterNullable(String)Oracle updater address, when configured
fee_recipientNullable(String)Fee recipient address, when configured
collateral_tokenInt32Collateral token index
n_assetsUInt32Number of assets reported for the DEX
n_live_assetsUInt32Number of live assets reported for the DEX
sub_deployersStringSerialized sub-deployer metadata
updated_atDateTimeMetadata update timestamp and replacement version
Example Query:
ClickHouse (hyperliquid)

raw_node_fills_by_block

StatisticValue
EngineReplacingMergeTree
Rows4,127,413,254
Size302.83 GB
First Record2025-07-27
Last Record2026-11-24
Partition Keyutc_fill_dt
Sorting Keyblock_id, block_tx_idx
Columns:
ColumnTypeDescription
utc_fill_dttmDateTime64(3, 'UTC')UTC datetime of the fill (millisecond precision)
utc_fill_dtDateUTC date of the fill (for partitioning)
fill_idInt64Unique fill identifier
fill_hashStringHash of the fill
fill_typeStringType of fill (trade, liquidation, etc.)
utc_block_dttmDateTime64(9, 'UTC')UTC datetime of the block (nanosecond precision)
block_idInt64HyperLiquid block number
block_tx_idxUInt16Transaction index within the block
wallet_addressStringWallet address of the trader
coinStringTrading pair symbol (e.g., BTC, ETH)
priceFloat64Execution price
sizeFloat64Fill size (in contracts)
sideStringTrade side (Buy/Sell)
start_positionFloat64Position size before fill
closed_pnlFloat64Realized PnL from this fill
order_idInt64Order identifier
order_crossed_spread_flgBoolWhether order crossed the spread
feeFloat64Trading fee
fee_tokenStringToken used for fee payment
client_order_idNullable(String)Client-provided order ID
builder_feeNullable(Float64)Builder/API fee
builderNullable(String)Builder/API identifier
liquidation_userNullable(String)User being liquidated (if liquidation)
liquidation_mark_pxNullable(Float64)Mark price at liquidation
liquidation_methodNullable(String)Liquidation method used
twap_idNullable(Int64)TWAP order identifier
deployer_feeNullable(Float64)Deployer fee for spot tokens
priority_gasNullable(Float64)Priority gas fee paid for inclusion (in USDC)
sub_buildersStringDefault: ''
Example Query:
ClickHouse (hyperliquid)

view_perpetual_wallet

StatisticValue
TypeView (computed at query time)
Columns:
ColumnTypeDescription
wallet_addressStringWallet address of the trader
total_pnlFloat64Total realized profit and loss across all positions
total_volumeFloat64Total trading volume in USD
cnt_unique_ordersUInt64Count of unique orders placed
last_utc_order_dtSimpleAggregateFunction(max, Date)UTC date of the most recent order
win_countUInt64Number of profitable trades
total_countUInt64Total number of completed trades
sum_order_roiFloat64Sum of return on investment across all orders
sum_profitable_pnlFloat64Sum of PnL from profitable trades
cnt_profitable_ordersUInt64Count of profitable orders
sum_unprofitable_pnlFloat64Sum of PnL from unprofitable trades (negative)
cnt_unprofitable_ordersUInt64Count of unprofitable orders
cnt_unique_coinsUInt64Number of unique trading pairs traded
cnt_trade_daysUInt64Number of distinct days with trading activity
roi_quantilesArray(Float64)ROI distribution quantiles for the wallet
Example Query:
ClickHouse (hyperliquid)

view_wallet_position

StatisticValue
TypeView (computed at query time)
Columns:
ColumnTypeDescription
wallet_addressStringWallet address of the trader
coinStringTrading pair symbol (e.g., BTC, ETH)
last_position_sizeFloat64Current position size (positive=long, negative=short)
last_position_update_dttmDateTime64(3, 'UTC')UTC datetime of the last position update
Example Query:
ClickHouse (hyperliquid)