跳至主要內容

Schema Reference

更新於
Aug 14, 2026

概覽

This page provides a complete schema reference for all tables available in SQL Explorer. Each table includes column names, data types, sort keys, and partition strategies.

Hyperliquid (HyperCore)

SQL Explorer provides comprehensive coverage of Hyperliquid HyperCore with billions of rows of indexed data across multiple tables.

Cluster ID: hyperliquid-core-mainnet Use this cluster ID when making API requests to query Hyperliquid data via the REST API.

How to Use This Reference


  • Sort Keys (⚡): Columns marked as sort keys are indexed for fast queries. Include these in WHERE clauses for best performance.
  • Partition Strategy: Tables are partitioned by time (usually toYYYYMM(block_time)). Filter on time ranges to scan fewer partitions.
  • Column Types: Data types are shown exactly as stored (e.g., UInt64, Decimal(38, 18), DateTime64(6, 'UTC')).
▶ Complete Schema for All Tables (Click to expand)

Detailed schema for all Hyperliquid tables including column names, data types, sort keys (⚡), and partition strategies.

hyperliquid_agents

Sort Keys: ⚡ block_number, agent | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
agentFixedString(42)是的
block_numberUInt64是的
indexed_atDateTime64(3, 'UTC')
名稱String
snapshot_timeDateTime64(6, 'UTC')
使用者FixedString(42)
valid_untilString

hyperliquid_asset_transfers

Sort Keys: ⚡ block_number, tx_hash, user | Partition: toYYYYMM(block_time)

Column類型Sort Key
金額Nullable(Decimal(38, 18))
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
目的地Nullable(FixedString(42))
feeNullable(Decimal(38, 18))
indexed_atDateTime64(3, 'UTC')
非重複數Nullable(UInt64)
時間DateTime64(6, 'UTC')
代幣Nullable(String)
transfer_typeLowCardinality(String)
tx_hashFixedString(66)是的
usdc_amountNullable(Decimal(38, 18))
使用者FixedString(42)是的

hyperliquid_blocks

Sort Keys: ⚡ block_number | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
book_diffs_countUInt32
fills_countUInt32
indexed_atDateTime64(3, 'UTC')
misc_events_countUInt32
orders_countUInt32
twap_statuses_countUInt32
writer_actions_countUInt32

hyperliquid_bridge

Sort Keys: ⚡ block_number, bridge_type, user, nonce, eth_block_number, tx_hash | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
amount_weiUInt64
block_numberUInt64是的
bridge_typeLowCardinality(String)是的
eth_block_numberUInt64是的
event_timeString
indexed_atDateTime64(3, 'UTC')
非重複數UInt64是的
snapshot_timeDateTime64(6, 'UTC')
tx_hashString是的
使用者FixedString(42)是的

hyperliquid_builder_fills

Sort Keys: ⚡ builder_address, timestamp, tid | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64
block_timeDateTime64(6, 'UTC')
builder_addressNullable(FixedString(42))是的
builder_feeNullable(Decimal(38, 18))
cloidNullable(String)
closed_pnlDecimal(38, 18)
硬幣LowCardinality(String)
created_atDateTime64(6, 'UTC')
crossedUInt8
dirLowCardinality(String)
feeDecimal(38, 18)
雜湊FixedString(66)
indexed_atDateTime64(3, 'UTC')
is_liquidationUInt8
liquidated_userNullable(FixedString(42))
liquidation_mark_priceNullable(Decimal(38, 18))
liquidation_methodNullable(String)
oidUInt64
價格Decimal(38, 18)
sideEnum8('B' = 1, 'A' = 2)
大小Decimal(38, 18)
start_positionDecimal(38, 18)
tidUInt64是的
時間戳記DateTime64(3, 'UTC')是的
twap_idNullable(UInt64)
更新時間DateTime64(6, 'UTC')
使用者FixedString(42)

hyperliquid_builder_transactions

Sort Keys: ⚡ block_number, hash, user | Partition: toYYYYMM(block_time)

Column類型Sort Key
action_typeLowCardinality(String)
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
建商String
builder_feeNullable(Decimal(38, 18))
硬幣Nullable(String)
雜湊String是的
indexed_atDateTime64(3, 'UTC')
is_successUInt8
使用者String是的

hyperliquid_clearinghouse_states

Sort Keys: ⚡ block_number, clearinghouse, user, asset_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
asset_idxUInt16是的
block_numberUInt64是的
clearinghouseUInt8是的
硬幣LowCardinality(String)
entry_notionalUInt64
funding_alltimeInt64
funding_since_changeInt64
funding_since_openInt64
indexed_atDateTime64(3, 'UTC')
marginUInt64
大小Int64
snapshot_timeDateTime64(6, 'UTC')
usdc_balanceInt64
使用者FixedString(42)是的

hyperliquid_delegator_rewards

Sort Keys: ⚡ block_number, validator, delegator | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
cUInt64
commission_bpsUInt16
delegatorFixedString(42)是的
eUInt64
indexed_atDateTime64(3, 'UTC')
mUInt64
獎勵Decimal(38, 8)
reward_weiUInt64
snapshot_timeDateTime64(6, 'UTC')
來源LowCardinality(String)
驗證器FixedString(42)是的
validator_total_delegatedUInt64

hyperliquid_dex_trades

Sort Keys: ⚡ none | Partition: none

Column類型Sort Key
block_numberUInt64
block_timeDateTime64(6, 'UTC')
buyer_addressFixedString(42)
buyer_builder_addressNullable(FixedString(42))
buyer_builder_feeNullable(Decimal(38, 18))
buyer_closed_pnlDecimal(38, 18)
buyer_crossedUInt8
buyer_dirLowCardinality(String)
buyer_feeDecimal(38, 18)
buyer_order_idUInt64
buyer_start_positionDecimal(38, 18)
buyer_twap_idNullable(UInt64)
硬幣LowCardinality(String)
fee_tokenLowCardinality(String)
indexed_atDateTime64(3, 'UTC')
liquidated_userNullable(FixedString(42))
liquidation_mark_priceNullable(Decimal(38, 18))
liquidation_methodNullable(String)
market_typeString
價格Decimal(38, 18)
seller_addressFixedString(42)
seller_builder_addressNullable(FixedString(42))
seller_builder_feeNullable(Decimal(38, 18))
seller_closed_pnlDecimal(38, 18)
seller_crossedUInt8
seller_dirLowCardinality(String)
seller_feeDecimal(38, 18)
seller_order_idUInt64
seller_start_positionDecimal(38, 18)
seller_twap_idNullable(UInt64)
sideEnum8('B' = 1, 'A' = 2)
大小Decimal(38, 18)
時間戳記DateTime64(3, 'UTC')
total_builder_feeNullable(Decimal(38, 18))
trade_idUInt64
transaction_hashFixedString(66)
unique_idString
usd_amountDecimal(38, 18)

hyperliquid_display_names

Sort Keys: ⚡ block_number, user | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
display_nameString
indexed_atDateTime64(3, 'UTC')
snapshot_timeDateTime64(6, 'UTC')
使用者FixedString(42)是的

hyperliquid_fills

Sort Keys: ⚡ block_number, tid, user | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
建商Nullable(FixedString(42))
builder_feeNullable(Decimal(38, 18))
cloidNullable(String)
closed_pnlDecimal(38, 18)
硬幣LowCardinality(String)
crossedUInt8
deployer_feeNullable(Decimal(38, 18))
dirLowCardinality(String)
feeDecimal(38, 18)
fee_tokenLowCardinality(String)
雜湊FixedString(66)
indexed_atDateTime64(3, 'UTC')
is_liquidationUInt8
liquidated_userNullable(FixedString(42))
liquidation_mark_priceNullable(Decimal(38, 18))
liquidation_methodNullable(String)
oidUInt64
價格Decimal(38, 18)
priority_gasNullable(Decimal(38, 18))
sideEnum8('B' = 1, 'A' = 2)
大小Decimal(38, 18)
start_positionDecimal(38, 18)
tidUInt64是的
時間DateTime64(3, 'UTC')
twap_idNullable(UInt64)
使用者FixedString(42)是的

hyperliquid_funding

Sort Keys: ⚡ block_number, user, coin, time | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
硬幣LowCardinality(String)是的
funding_amountDecimal(38, 18)
funding_rateDecimal(38, 18)
雜湊FixedString(66)
indexed_atDateTime64(3, 'UTC')
sziDecimal(38, 18)
時間DateTime64(6, 'UTC')是的
使用者FixedString(42)是的

hyperliquid_funding_summary_hourly

Sort Keys: ⚡ coin, hour | Partition: toYYYYMM(hour)

Column類型Sort Key
avg_funding_rateSimpleAggregateFunction(any, Float64)
硬幣LowCardinality(String)是的
hourDateTime('UTC')是的
total_fundingSimpleAggregateFunction(sum, Decimal(38, 18))
unique_usersSimpleAggregateFunction(max, UInt64)

hyperliquid_ledger_updates

Sort Keys: ⚡ block_number, user, time, hash | Partition: toYYYYMM(block_time)

Column類型Sort Key
account_valueNullable(Decimal(38, 18))
金額Nullable(Decimal(38, 18))
basisNullable(Decimal(38, 18))
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
closing_costNullable(Decimal(38, 18))
佣金Nullable(Decimal(38, 18))
delta_typeLowCardinality(String)
目的地Nullable(FixedString(42))
destination_dexNullable(String)
dexNullable(String)
feeNullable(Decimal(38, 18))
fee_tokenNullable(String)
雜湊FixedString(66)是的
indexed_atDateTime64(3, 'UTC')
interest_amountNullable(Decimal(38, 18))
is_depositNullable(UInt8)
leverage_typeNullable(String)
liquidated_ntl_posNullable(Decimal(38, 18))
liquidated_positionsNullable(String)
native_token_feeNullable(Decimal(38, 18))
net_withdrawn_usdNullable(Decimal(38, 18))
非重複數Nullable(UInt64)
operationNullable(String)
requested_usdNullable(Decimal(38, 18))
secondary_userNullable(FixedString(42))
source_dexNullable(String)
時間DateTime64(6, 'UTC')是的
to_perpNullable(UInt8)
代幣Nullable(String)
usdc_amountNullable(Decimal(38, 18))
usdc_valueNullable(Decimal(38, 18))
使用者FixedString(42)是的
vaultNullable(FixedString(42))

hyperliquid_liquidations_hourly

Sort Keys: ⚡ hour, coin | Partition: toYYYYMM(hour)

Column類型Sort Key
硬幣LowCardinality(String)是的
hourDateTime是的
liquidated_volumeSimpleAggregateFunction(sum, Decimal(38, 18))
liquidation_countSimpleAggregateFunction(sum, UInt64)
unique_liquidated_usersSimpleAggregateFunction(max, UInt64)

hyperliquid_market_volume_hourly

Sort Keys: ⚡ coin, hour | Partition: toYYYYMM(hour)

Column類型Sort Key
closeSimpleAggregateFunction(anyLast, Decimal(38, 18))
硬幣LowCardinality(String)是的
highSimpleAggregateFunction(max, Decimal(38, 18))
hourDateTime('UTC')是的
lowSimpleAggregateFunction(min, Decimal(38, 18))
開啟SimpleAggregateFunction(any, Decimal(38, 18))
trade_countSimpleAggregateFunction(sum, UInt64)
SimpleAggregateFunction(sum, Decimal(38, 18))

hyperliquid_metrics_dex_overview

Sort Keys: ⚡ day, coin | Partition: toYYYYMM(day)

Column類型Sort Key
硬幣LowCardinality(String)是的
dayDate是的
feesSimpleAggregateFunction(sum, Decimal(38, 18))
fill_countSimpleAggregateFunction(sum, UInt64)
high_priceSimpleAggregateFunction(max, Decimal(38, 18))
liquidationsSimpleAggregateFunction(sum, UInt64)
low_priceSimpleAggregateFunction(min, Decimal(38, 18))
unique_tradersSimpleAggregateFunction(max, UInt64)
volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))

hyperliquid_metrics_overview

Sort Keys: ⚡ day | Partition: toYYYYMM(day)

Column類型Sort Key
active_tradersSimpleAggregateFunction(max, UInt64)
builder_fill_countSimpleAggregateFunction(sum, UInt64)
coins_tradedSimpleAggregateFunction(max, UInt64)
dayDate是的
liquidation_countSimpleAggregateFunction(sum, UInt64)
liquidation_volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))
total_builder_feesSimpleAggregateFunction(sum, Decimal(38, 18))
total_feesSimpleAggregateFunction(sum, Decimal(38, 18))
total_fillsSimpleAggregateFunction(sum, UInt64)
total_volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))

hyperliquid_oracle_prices

Sort Keys: ⚡ block_number, clearinghouse, asset_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
asset_idxUInt16是的
block_numberUInt64是的
clearinghouseUInt8是的
硬幣LowCardinality(String)
daily_pxString
indexed_atDateTime64(3, 'UTC')
mark_pxString
snapshot_timeDateTime64(6, 'UTC')

hyperliquid_order_book_diffs

Sort Keys: ⚡ coin, side, block_number, oid | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
硬幣LowCardinality(String)是的
diff_typeLowCardinality(String)
indexed_atDateTime64(3, 'UTC')
new_sizeNullable(Decimal(38, 18))
oidUInt64是的
orig_sizeNullable(Decimal(38, 18))
價格Decimal(38, 18)
sideEnum8('B' = 1, 'A' = 2)是的
大小Nullable(Decimal(38, 18))
使用者FixedString(42)

hyperliquid_orders

Sort Keys: ⚡ block_number, oid, status_time | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
建商Nullable(String)
childrenNullable(String)
cloidNullable(String)
硬幣LowCardinality(String)
雜湊Nullable(FixedString(66))
indexed_atDateTime64(3, 'UTC')
is_position_tpslUInt8
is_triggerUInt8
limit_priceDecimal(38, 18)
oidUInt64是的
order_timestampDateTime64(3, 'UTC')
order_typeLowCardinality(String)
orig_sizeDecimal(38, 18)
reduce_onlyUInt8
sideEnum8('B' = 1, 'A' = 2)
大小Decimal(38, 18)
狀態LowCardinality(String)
status_timeDateTime64(6, 'UTC')是的
tifLowCardinality(String)
trigger_conditionNullable(String)
trigger_priceNullable(Decimal(38, 18))
unique_idString
使用者FixedString(42)

hyperliquid_outcome_markets

Sort Keys: ⚡ none | Partition: none

Column類型Sort Key
base_token_idxNullable(UInt64)
block_numberUInt64
硬幣Nullable(String)
說明String
expiryString
fee_shareFloat64
first_enabled_as_quoteString
indexed_atDateTime64(3, 'UTC')
is_liquid_baseUInt8
is_liquid_quoteUInt8
lockedUInt8
名稱LowCardinality(String)
ndoUInt64
nouUInt64
nquUInt64
outcome_classLowCardinality(String)
outcome_idUInt64
pair_nameString
periodLowCardinality(String)
quote_rawNullable(UInt64)
quote_token_idxNullable(UInt64)
quote_token_nameNullable(String)
quote_token_statusLowCardinality(String)
quote_token_usdc_pxDecimal(38, 18)
quote_token_usdc_px_rawUInt64
raw_side_jsonString
raw_spec_jsonString
side_countUInt16
side_indexUInt8
side_nameLowCardinality(String)
snapshot_timeDateTime64(6, 'UTC')
spot_deploy_timeString
spot_indexNullable(UInt64)
spot_resolutionLowCardinality(String)
target_priceString
token_idxNullable(UInt64)
token_nameNullable(String)
underlyingLowCardinality(String)

hyperliquid_outcome_meta

Sort Keys: ⚡ block_number, outcome_id | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
deploy_gas_auction_jsonString
說明String
expiryString
fee_shareFloat64
indexed_atDateTime64(3, 'UTC')
lockedUInt8
名稱LowCardinality(String)
ndoUInt64
nouUInt64
nquUInt64
outcome_classLowCardinality(String)
outcome_idUInt64是的
periodLowCardinality(String)
quote_rawNullable(UInt64)
raw_spec_jsonString
side_countUInt16
snapshot_timeDateTime64(6, 'UTC')
target_priceString
underlyingLowCardinality(String)

hyperliquid_outcome_question_members

Sort Keys: ⚡ block_number, question_id, outcome_id | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
indexed_atDateTime64(3, 'UTC')
is_fallbackUInt8
is_settledUInt8
outcome_idUInt64是的
question_idUInt64是的
snapshot_timeDateTime64(6, 'UTC')
來源LowCardinality(String)

hyperliquid_outcome_questions

Sort Keys: ⚡ block_number, question_id | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
說明String
fallback_outcomeNullable(UInt64)
indexed_atDateTime64(3, 'UTC')
名稱String
named_outcomes_jsonString
question_idUInt64是的
raw_question_jsonString
settled_named_outcomes_jsonString
snapshot_timeDateTime64(6, 'UTC')

hyperliquid_outcome_sides

Sort Keys: ⚡ block_number, outcome_id, side_index | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
base_token_idxNullable(UInt64)
block_numberUInt64是的
硬幣Nullable(String)
indexed_atDateTime64(3, 'UTC')
outcome_idUInt64是的
quote_token_idxNullable(UInt64)
quote_token_nameNullable(String)
raw_side_jsonString
side_indexUInt8是的
side_m_rawString
side_m_valueNullable(Int64)
side_nameLowCardinality(String)
snapshot_timeDateTime64(6, 'UTC')
spot_indexNullable(UInt64)
spot_indices_jsonString
spot_resolutionLowCardinality(String)
token_idxNullable(UInt64)
token_nameNullable(String)

hyperliquid_perpetual_market_contexts

Sort Keys: ⚡ none | Partition: none

Column類型Sort Key
硬幣LowCardinality(String)
day_base_vlmDecimal(38, 18)
day_ntl_vlmDecimal(38, 18)
資金Decimal(38, 18)
impact_askNullable(Decimal(38, 18))
impact_bidNullable(Decimal(38, 18))
mark_pxDecimal(38, 18)
mid_pxDecimal(38, 18)
open_interestDecimal(38, 18)
oracle_pxDecimal(38, 18)
polled_atDateTime64(6, 'UTC')
premiumDecimal(38, 18)
prev_day_pxDecimal(38, 18)

hyperliquid_perpetual_markets

Sort Keys: ⚡ coin | Partition: none

Column類型Sort Key
硬幣LowCardinality(String)是的
indexed_atDateTime64(3, 'UTC')
margin_table_idNullable(UInt16)
market_indexUInt16
max_leverageUInt16
only_isolatedUInt8
sz_decimalsUInt8

hyperliquid_perpetual_positions

Sort Keys: ⚡ block_number, clearinghouse, user, asset_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
asset_idxUInt16是的
block_numberUInt64是的
clearinghouseUInt8是的
硬幣String
entry_notionalUInt64
funding_alltimeInt64
funding_since_changeInt64
funding_since_openInt64
indexed_atDateTime64(3, 'UTC')
marginUInt64
大小Int64
snapshot_timeDateTime64(6, 'UTC')
usdc_balanceInt64
使用者String是的

hyperliquid_quote_token_meta

Sort Keys: ⚡ block_number, token_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
aligned_quote_info_jsonString
block_numberUInt64是的
first_enabled_as_quoteString
indexed_atDateTime64(3, 'UTC')
is_liquid_baseUInt8
is_liquid_quoteUInt8
snapshot_timeDateTime64(6, 'UTC')
狀態LowCardinality(String)
token_idxUInt64是的
token_nameLowCardinality(String)

hyperliquid_register_referral

Sort Keys: ⚡ referral_code, user | Partition: none

Column類型Sort Key
block_timeDateTime64(6, 'UTC')
錯誤Nullable(String)
indexed_atDateTime64(3, 'UTC')
is_successUInt8
referral_codeString是的
圓形UInt64
tx_hashString
使用者String是的

hyperliquid_set_referrer

Sort Keys: ⚡ referral_code, user | Partition: none

Column類型Sort Key
block_timeDateTime64(6, 'UTC')
錯誤Nullable(String)
indexed_atDateTime64(3, 'UTC')
is_successUInt8
referral_codeString是的
圓形UInt64
tx_hashString
使用者String是的

hyperliquid_spot_balances

Sort Keys: ⚡ block_number, user, token_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
escrowedInt64
indexed_atDateTime64(3, 'UTC')
snapshot_timeDateTime64(6, 'UTC')
代幣String
token_idxUInt16是的
總計Int64
使用者String是的

hyperliquid_spot_clearinghouse_states

Sort Keys: ⚡ block_number, user, token_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
escrowedInt64
indexed_atDateTime64(3, 'UTC')
snapshot_timeDateTime64(6, 'UTC')
代幣LowCardinality(String)
token_idxUInt16是的
總計Int64
使用者FixedString(42)是的

hyperliquid_spot_markets

Sort Keys: ⚡ token_index | Partition: none

Column類型Sort Key
deployer_trading_fee_shareNullable(String)
evm_contractNullable(String)
full_nameNullable(String)
indexed_atDateTime64(3, 'UTC')
is_canonicalUInt8
pair_indexNullable(UInt16)
pair_nameNullable(String)
sz_decimalsUInt8
代幣LowCardinality(String)
token_idString
token_indexUInt16是的
wei_decimalsUInt8

hyperliquid_spot_pairs

Sort Keys: ⚡ block_number, spot_index | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
base_token_idxUInt64
base_token_nameLowCardinality(String)
block_numberUInt64是的
deploy_timeString
indexed_atDateTime64(3, 'UTC')
pair_nameString
quote_token_idxUInt64
quote_token_nameLowCardinality(String)
raw_spot_info_jsonString
snapshot_timeDateTime64(6, 'UTC')
spot_indexUInt64是的

hyperliquid_staking_events

Sort Keys: ⚡ block_number, hash | Partition: toYYYYMM(block_time)

Column類型Sort Key
金額Decimal(38, 18)
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
event_typeEnum8('CDeposit' = 1, 'CWithdrawal' = 2, 'Delegation' = 3)
雜湊FixedString(66)是的
indexed_atDateTime64(3, 'UTC')
is_finalizedNullable(UInt8)
is_undelegateNullable(UInt8)
時間DateTime64(6, 'UTC')
使用者FixedString(42)
驗證器Nullable(FixedString(42))

hyperliquid_sub_accounts

Sort Keys: ⚡ block_number, sub_account | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
indexed_atDateTime64(3, 'UTC')
master_accountFixedString(42)
名稱Nullable(String)
snapshot_timeDateTime64(6, 'UTC')
sub_accountFixedString(42)是的

hyperliquid_summaries

Sort Keys: ⚡ user, polled_at | Partition: toYYYYMM(polled_at)

Column類型Sort Key
cross_maintenance_margin_usedDecimal(38, 18)
cross_margin_account_valueDecimal(38, 18)
cross_margin_total_margin_usedDecimal(38, 18)
cross_margin_total_natl_posDecimal(38, 18)
cross_margin_total_raw_usdDecimal(38, 18)
indexed_atDateTime64(3, 'UTC')
margin_account_valueDecimal(38, 18)
margin_total_margin_usedDecimal(38, 18)
margin_total_natl_posDecimal(38, 18)
margin_total_raw_usdDecimal(38, 18)
polled_atDateTime64(3, 'UTC')是的
使用者String是的
withdrawableDecimal(38, 18)

hyperliquid_system_actions

Sort Keys: ⚡ block_number, evm_tx_hash, nonce | Partition: toYYYYMM(block_time)

Column類型Sort Key
動作String
action_typeLowCardinality(String)
agent_addressNullable(FixedString(42))
agent_nameNullable(String)
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
目的地Nullable(FixedString(42))
destination_dex_or_spotNullable(UInt8)
evm_tx_hashFixedString(66)是的
from_sub_accountNullable(UInt8)
hyperliquid_chainNullable(String)
indexed_atDateTime64(3, 'UTC')
is_mintNullable(UInt8)
is_undelegateNullable(UInt8)
非重複數UInt64是的
ntlNullable(Decimal(38, 18))
order_groupingNullable(String)
signature_chain_idNullable(String)
source_dex_or_spotNullable(UInt8)
to_perpNullable(UInt8)
代幣Nullable(UInt16)
使用者FixedString(42)
驗證器Nullable(FixedString(42))
weiNullable(UInt256)

hyperliquid_token_usdc_prices

Sort Keys: ⚡ block_number, token_idx | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
approx_usdc_pxDecimal(38, 18)
approx_usdc_px_float_1e6Float64
approx_usdc_px_rawUInt64
block_numberUInt64是的
indexed_atDateTime64(3, 'UTC')
raw_pair_jsonString
snapshot_timeDateTime64(6, 'UTC')
token_idxUInt64是的
token_nameLowCardinality(String)

hyperliquid_trades

Sort Keys: ⚡ block_number, trade_id | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
buyer_addressFixedString(42)
buyer_builder_addressNullable(FixedString(42))
buyer_builder_feeNullable(Decimal(38, 18))
buyer_closed_pnlDecimal(38, 18)
buyer_crossedUInt8
buyer_deployer_feeNullable(Decimal(38, 18))
buyer_dirLowCardinality(String)
buyer_feeDecimal(38, 18)
buyer_order_idUInt64
buyer_priority_gasNullable(Decimal(38, 18))
buyer_start_positionDecimal(38, 18)
buyer_twap_idNullable(UInt64)
硬幣LowCardinality(String)
fee_tokenLowCardinality(String)
indexed_atDateTime64(3, 'UTC')
liquidated_userNullable(FixedString(42))
liquidation_mark_priceNullable(Decimal(38, 18))
liquidation_methodNullable(String)
價格Decimal(38, 18)
seller_addressFixedString(42)
seller_builder_addressNullable(FixedString(42))
seller_builder_feeNullable(Decimal(38, 18))
seller_closed_pnlDecimal(38, 18)
seller_crossedUInt8
seller_deployer_feeNullable(Decimal(38, 18))
seller_dirLowCardinality(String)
seller_feeDecimal(38, 18)
seller_order_idUInt64
seller_priority_gasNullable(Decimal(38, 18))
seller_start_positionDecimal(38, 18)
seller_twap_idNullable(UInt64)
sideEnum8('B' = 1, 'A' = 2)
大小Decimal(38, 18)
時間戳記DateTime64(3, 'UTC')
total_builder_feeNullable(Decimal(38, 18))
trade_idUInt64是的
transaction_hashFixedString(66)
unique_idString

hyperliquid_transactions

Sort Keys: ⚡ round, tx_hash, nonce | Partition: toYYYYMM(block_time)

Column類型Sort Key
動作JSON
action_typeLowCardinality(String)
block_timeDateTime64(6, 'UTC')
錯誤Nullable(String)
indexed_atDateTime64(3, 'UTC')
is_successUInt8
非重複數UInt64是的
提案人Nullable(String)
圓形UInt64是的
tx_hashString是的
使用者Nullable(String)
vault_addressNullable(String)

hyperliquid_twap_statuses

Sort Keys: ⚡ block_number, twap_id, time | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
硬幣LowCardinality(String)
executed_ntlDecimal(38, 18)
executed_sizeDecimal(38, 18)
indexed_atDateTime64(3, 'UTC')
minutesUInt16
randomizeUInt8
reduce_onlyUInt8
sideEnum8('B' = 1, 'A' = 2)
大小Decimal(38, 18)
狀態LowCardinality(String)
時間DateTime64(6, 'UTC')是的
時間戳記DateTime64(3, 'UTC')
twap_idUInt64是的
使用者FixedString(42)

hyperliquid_validator_rewards

Sort Keys: ⚡ block_number, validator, time | Partition: toYYYYMM(block_time)

Column類型Sort Key
block_numberUInt64是的
block_timeDateTime64(6, 'UTC')
雜湊FixedString(66)
indexed_atDateTime64(3, 'UTC')
獎勵Decimal(38, 18)
時間DateTime64(6, 'UTC')是的
驗證器FixedString(42)是的

hyperliquid_vault_equities

Sort Keys: ⚡ block_number, vault_address, depositor | Partition: toYYYYMM(snapshot_time)

Column類型Sort Key
block_numberUInt64是的
depositorFixedString(42)是的
indexed_atDateTime64(3, 'UTC')
leaderFixedString(42)
leader_commissionFloat64
net_depositsInt64
ownership_fractionFloat64
snapshot_timeDateTime64(6, 'UTC')
vault_addressFixedString(42)是的
vault_nameString

All tables are optimized with sort keys (marked ⚡ in the schema browser) and partition monthly by toYYYYMM(block_time) for efficient time-bounded queries. Data ingestion is near real-time with queries scanning across billions of rows in seconds.

Accessing the Schema

The schema can be accessed as static downloadable files or via the API endpoint.

Downloadable Files

These files are updated periodically:


Schema API

Fetch the current schema with real-time row counts and latest table structures. See the REST API Overview for API authentication details.

Request (Hyperliquid):

curl https://api.quicknode.com/sql/rest/v1/schema/hyperliquid-core-mainnet \
-H "x-api-key: YOUR_API_KEY"

替換 hyperliquid-core-mainnet with the appropriate cluster ID for other supported chains.

Example Response:

[
{
"chain": "Hyperliquid (HyperCore)",
"clusterId": "hyperliquid-core-mainnet",
"tables": [
{
"name": "hyperliquid_agents",
"engine": "SharedReplacingMergeTree",
"totalRows": 55686595,
"sortingKey": ["block_number", "agent"],
"partitionKey": "toYYYYMM(snapshot_time)",
"columns": [
{
"name": "block_number",
"type": "UInt64"
},
{
"name": "snapshot_time",
"type": "DateTime64(6, 'UTC')"
},
{
"name": "agent",
"type": "FixedString(42)"
}
// ... more columns
]
}
// ... more tables
]
}
]

The response includes table names, engines, column names and data types, sort keys for optimization, partition strategies, and current row counts.

For AI Agents & LLMs

This schema is specifically formatted for programmatic consumption.

Build Web3 Plugin

For AI agents and LLM applications, install the Build Web3 plugin so your agent can build on SQL Explorer, with full knowledge of its schemas and of every other Quicknode product. In Claude Code:

/plugin marketplace add quicknode/agent-plugins

Using Schema in Your Agent

When building custom AI agents or LLM applications:

  1. Fetch the schema via the API endpoint above or download the plain text schema optimized for LLM context windows
  2. Include it in your prompt context when generating SQL queries
  3. Reference sort keys for optimal query performance
  4. Use partition keys to limit data scans

Example prompts for AI agents:

Example 1: Generate a SQL query to find the top 10 traders by volume in the last 24 hours.
Schema: [include JSON from schema API or plain text schema file]

Example 2: Create a query to analyze funding rate changes for the BTC perpetual market over the past week, grouped by hour.
Schema: [include JSON from schema API or plain text schema file]

Example 3: Write a SQL query to identify liquidation events larger than $100K in the last 30 days, showing the user, asset, and liquidation size.
Schema: [include JSON from schema API or plain text schema file]