メインコンテンツへスキップ

Schema Reference

更新日:
Apr 02, 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.

ハイパーリキッド(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)はい
ブロック番号UInt64はい
indexed_atDateTime64(3, 'UTC')いいえ
名前文字列いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
ユーザーFixedString(42)いいえ
valid_until文字列いいえ

hyperliquid_asset_transfers

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

Column種類Sort Key
金額Nullable(Decimal(38, 18))いいえ
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
destinationNullable(FixedString(42))いいえ
手数料Nullable(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
ブロック番号UInt64はい
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いいえ
ブロック番号UInt64はい
bridge_typeLowCardinality(String)はい
eth_block_numberUInt64はい
event_time文字列いいえ
indexed_atDateTime64(3, 'UTC')いいえ
ノンスUInt64はい
snapshot_timeDateTime64(6, 'UTC')いいえ
tx_hash文字列はい
ユーザーFixedString(42)はい

hyperliquid_builder_fills

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

Column種類Sort Key
ブロック番号UInt64いいえ
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)いいえ
手数料Decimal(38, 18)いいえ
ハッシュFixedString(66)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_liquidationUInt8いいえ
liquidated_userNullable(FixedString(42))いいえ
清算価格Nullable(Decimal(38, 18))いいえ
liquidation_methodNullable(String)いいえ
oidUInt64いいえ
価格Decimal(38, 18)いいえ
側面Enum8('B' = 1, 'A' = 2)いいえ
サイズDecimal(38, 18)いいえ
start_positionDecimal(38, 18)いいえ
tidUInt64はい
タイムスタンプDateTime64(3, 'UTC')はい
twap_idNullable(UInt64)いいえ
updated_atDateTime64(6, 'UTC')いいえ
ユーザーFixedString(42)いいえ

hyperliquid_builder_transactions

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

Column種類Sort Key
action_typeLowCardinality(String)いいえ
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
builder文字列いいえ
builder_feeNullable(Decimal(38, 18))いいえ
コインNullable(String)いいえ
ハッシュ文字列はい
indexed_atDateTime64(3, 'UTC')いいえ
is_successUInt8いいえ
ユーザー文字列はい

hyperliquid_clearinghouse_states

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

Column種類Sort Key
asset_idxUInt16はい
ブロック番号UInt64はい
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
ブロック番号UInt64はい
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
ブロック番号UInt64いいえ
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))いいえ
清算価格Nullable(Decimal(38, 18))いいえ
liquidation_methodNullable(String)いいえ
market_type文字列いいえ
価格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)いいえ
側面Enum8('B' = 1, 'A' = 2)いいえ
サイズDecimal(38, 18)いいえ
タイムスタンプDateTime64(3, 'UTC')いいえ
total_builder_feeNullable(Decimal(38, 18))いいえ
trade_idUInt64いいえ
トランザクションハッシュFixedString(66)いいえ
unique_id文字列いいえ
usd_amountDecimal(38, 18)いいえ

hyperliquid_display_names

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

Column種類Sort Key
ブロック番号UInt64はい
display_name文字列いいえ
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
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
builderNullable(FixedString(42))いいえ
builder_feeNullable(Decimal(38, 18))いいえ
cloidNullable(String)いいえ
closed_pnlDecimal(38, 18)いいえ
コインLowCardinality(String)いいえ
crossedUInt8いいえ
deployer_feeNullable(Decimal(38, 18))いいえ
dirLowCardinality(String)いいえ
手数料Decimal(38, 18)いいえ
fee_tokenLowCardinality(String)いいえ
ハッシュFixedString(66)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_liquidationUInt8いいえ
liquidated_userNullable(FixedString(42))いいえ
清算価格Nullable(Decimal(38, 18))いいえ
liquidation_methodNullable(String)いいえ
oidUInt64いいえ
価格Decimal(38, 18)いいえ
priority_gasNullable(Decimal(38, 18))いいえ
側面Enum8('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
ブロック番号UInt64はい
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))いいえ
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
closing_costNullable(Decimal(38, 18))いいえ
commissionNullable(Decimal(38, 18))いいえ
delta_typeLowCardinality(String)いいえ
destinationNullable(FixedString(42))いいえ
destination_dexNullable(String)いいえ
dexNullable(String)いいえ
手数料Nullable(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)はい
高いSimpleAggregateFunction(max, Decimal(38, 18))いいえ
hourDateTime('UTC')はい
低いSimpleAggregateFunction(min, Decimal(38, 18))いいえ
openSimpleAggregateFunction(any, Decimal(38, 18))いいえ
trade_countSimpleAggregateFunction(sum, UInt64)いいえ
volumeSimpleAggregateFunction(sum, Decimal(38, 18))いいえ

hyperliquid_metrics_dex_overview

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

Column種類Sort Key
コインLowCardinality(String)はい
日付はい
手数料SimpleAggregateFunction(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)いいえ
日付はい
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はい
ブロック番号UInt64はい
clearinghouseUInt8はい
コインLowCardinality(String)いいえ
daily_px文字列いいえ
indexed_atDateTime64(3, 'UTC')いいえ
mark_px文字列いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ

hyperliquid_order_book_diffs

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

Column種類Sort Key
ブロック番号UInt64はい
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)いいえ
側面Enum8('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
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
builderNullable(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いいえ
側面Enum8('B' = 1, 'A' = 2)いいえ
サイズDecimal(38, 18)いいえ
ステータスLowCardinality(String)いいえ
status_timeDateTime64(6, 'UTC')はい
tifLowCardinality(String)いいえ
trigger_conditionNullable(String)いいえ
trigger_priceNullable(Decimal(38, 18))いいえ
unique_id文字列いいえ
ユーザーFixedString(42)いいえ

ハイパーリキッド・アウトカム・マーケット

Sort Keys: ⚡ none | Partition: none

Column種類Sort Key
base_token_idxNullable(UInt64)いいえ
ブロック番号UInt64いいえ
コインNullable(String)いいえ
説明文字列いいえ
有効期限文字列いいえ
fee_shareFloat64いいえ
first_enabled_as_quote文字列いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_liquid_baseUInt8いいえ
is_liquid_quoteUInt8いいえ
ロック中UInt8いいえ
名前LowCardinality(String)いいえ
ndoUInt64いいえ
nouUInt64いいえ
nquUInt64いいえ
outcome_classLowCardinality(String)いいえ
outcome_idUInt64いいえ
pair_name文字列いいえ
期間LowCardinality(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_json文字列いいえ
raw_spec_json文字列いいえ
side_countUInt16いいえ
side_indexUInt8いいえ
side_nameLowCardinality(String)いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
spot_deploy_time文字列いいえ
spot_indexNullable(UInt64)いいえ
spot_resolutionLowCardinality(String)いいえ
target_price文字列いいえ
token_idxNullable(UInt64)いいえ
token_nameNullable(String)いいえ
基礎となるLowCardinality(String)いいえ

hyperliquid_outcome_meta

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

Column種類Sort Key
ブロック番号UInt64はい
deploy_gas_auction_json文字列いいえ
説明文字列いいえ
有効期限文字列いいえ
fee_shareFloat64いいえ
indexed_atDateTime64(3, 'UTC')いいえ
ロック中UInt8いいえ
名前LowCardinality(String)いいえ
ndoUInt64いいえ
nouUInt64いいえ
nquUInt64いいえ
outcome_classLowCardinality(String)いいえ
outcome_idUInt64はい
期間LowCardinality(String)いいえ
quote_rawNullable(UInt64)いいえ
raw_spec_json文字列いいえ
side_countUInt16いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
target_price文字列いいえ
基礎となるLowCardinality(String)いいえ

hyperliquid_outcome_question_members

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

Column種類Sort Key
ブロック番号UInt64はい
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
ブロック番号UInt64はい
説明文字列いいえ
fallback_outcomeNullable(UInt64)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
名前文字列いいえ
named_outcomes_json文字列いいえ
question_idUInt64はい
raw_question_json文字列いいえ
settled_named_outcomes_json文字列いいえ
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)いいえ
ブロック番号UInt64はい
コインNullable(String)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
outcome_idUInt64はい
quote_token_idxNullable(UInt64)いいえ
quote_token_nameNullable(String)いいえ
raw_side_json文字列いいえ
side_indexUInt8はい
side_m_raw文字列いいえ
side_m_valueNullable(Int64)いいえ
side_nameLowCardinality(String)いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
spot_indexNullable(UInt64)いいえ
spot_indices_json文字列いいえ
spot_resolutionLowCardinality(String)いいえ
token_idxNullable(UInt64)いいえ
token_nameNullable(String)いいえ

ハイパーリキッド・パーペチュアル・マーケット・コンテクスト

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はい
ブロック番号UInt64はい
clearinghouseUInt8はい
コイン文字列いいえ
entry_notionalUInt64いいえ
funding_alltimeInt64いいえ
funding_since_changeInt64いいえ
funding_since_openInt64いいえ
indexed_atDateTime64(3, 'UTC')いいえ
marginUInt64いいえ
サイズInt64いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
usdc_balanceInt64いいえ
ユーザー文字列はい

hyperliquid_quote_token_meta

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

Column種類Sort Key
aligned_quote_info_json文字列いいえ
ブロック番号UInt64はい
first_enabled_as_quote文字列いいえ
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_code文字列はい
丸いUInt64いいえ
tx_hash文字列いいえ
ユーザー文字列はい

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_code文字列はい
丸いUInt64いいえ
tx_hash文字列いいえ
ユーザー文字列はい

hyperliquid_spot_balances

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

Column種類Sort Key
ブロック番号UInt64はい
escrowedInt64いいえ
indexed_atDateTime64(3, 'UTC')いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
トークン文字列いいえ
token_idxUInt16はい
合計Int64いいえ
ユーザー文字列はい

hyperliquid_spot_clearinghouse_states

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

Column種類Sort Key
ブロック番号UInt64はい
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_id文字列いいえ
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)いいえ
ブロック番号UInt64はい
deploy_time文字列いいえ
indexed_atDateTime64(3, 'UTC')いいえ
pair_name文字列いいえ
quote_token_idxUInt64いいえ
quote_token_nameLowCardinality(String)いいえ
raw_spot_info_json文字列いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
spot_indexUInt64はい

hyperliquid_staking_events

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

Column種類Sort Key
金額Decimal(38, 18)いいえ
ブロック番号UInt64はい
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
ブロック番号UInt64はい
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')はい
ユーザー文字列はい
withdrawableDecimal(38, 18)いいえ

hyperliquid_system_actions

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

Column種類Sort Key
アクション文字列いいえ
action_typeLowCardinality(String)いいえ
agent_addressNullable(FixedString(42))いいえ
agent_nameNullable(String)いいえ
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
destinationNullable(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いいえ
ブロック番号UInt64はい
indexed_atDateTime64(3, 'UTC')いいえ
raw_pair_json文字列いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
token_idxUInt64はい
token_nameLowCardinality(String)いいえ

hyperliquid_trades

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

Column種類Sort Key
ブロック番号UInt64はい
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))いいえ
清算価格Nullable(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)いいえ
側面Enum8('B' = 1, 'A' = 2)いいえ
サイズDecimal(38, 18)いいえ
タイムスタンプDateTime64(3, 'UTC')いいえ
total_builder_feeNullable(Decimal(38, 18))いいえ
trade_idUInt64はい
トランザクションハッシュFixedString(66)いいえ
unique_id文字列いいえ

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_hash文字列はい
ユーザーNullable(String)いいえ
vault_addressNullable(String)いいえ

hyperliquid_twap_statuses

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

Column種類Sort Key
ブロック番号UInt64はい
block_timeDateTime64(6, 'UTC')いいえ
コインLowCardinality(String)いいえ
executed_ntlDecimal(38, 18)いいえ
executed_sizeDecimal(38, 18)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
minutesUInt16いいえ
randomizeUInt8いいえ
reduce_onlyUInt8いいえ
側面Enum8('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
ブロック番号UInt64はい
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
ブロック番号UInt64はい
depositorFixedString(42)はい
indexed_atDateTime64(3, 'UTC')いいえ
leaderFixedString(42)いいえ
leader_commissionFloat64いいえ
net_depositsInt64いいえ
ownership_fractionFloat64いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
vault_addressFixedString(42)はい
vault_name文字列いいえ

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.

Quicknode Skill

For AI agents and LLM applications, install the Quicknode Skill to give your agent full knowledge of SQL Explorer and all Quicknode products:

npx skills add quiknode-labs/blockchain-skills

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]

皆様からのフィードバックを心よりお待ちしております!❤️

このドキュメントについてご意見やご質問がございましたら、ぜひお知らせください。皆様からのご連絡を心よりお待ちしております!

このドキュメントを共有する