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

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')いいえ
userFixedString(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')いいえ
destinationNullable(FixedString(42))いいえ
手数料Nullable(Decimal(38, 18))いいえ
indexed_atDateTime64(3, 'UTC')いいえ
nonceNullable(UInt64)いいえ
時間DateTime64(6, 'UTC')いいえ
tokenNullable(String)いいえ
transfer_typeLowCardinality(String)いいえ
tx_hashFixedString(66)はい
usdc_amountNullable(Decimal(38, 18))いいえ
userFixedString(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')いいえ
nonceUInt64はい
snapshot_timeDateTime64(6, 'UTC')いいえ
tx_hashStringはい
userFixedString(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)いいえ
手数料Decimal(38, 18)いいえ
ハッシュFixedString(66)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_liquidationUInt8いいえ
liquidated_userNullable(FixedString(42))いいえ
liquidation_mark_priceNullable(Decimal(38, 18))いいえ
liquidation_methodNullable(String)いいえ
oidUInt64いいえ
priceDecimal(38, 18)いいえ
sideEnum8('B' = 1, 'A' = 2)いいえ
sizeDecimal(38, 18)いいえ
start_positionDecimal(38, 18)いいえ
tidUInt64はい
タイムスタンプDateTime64(3, 'UTC')はい
twap_idNullable(UInt64)いいえ
更新日時DateTime64(6, 'UTC')いいえ
userFixedString(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')いいえ
builderStringいいえ
builder_feeNullable(Decimal(38, 18))いいえ
コインNullable(String)いいえ
ハッシュStringはい
indexed_atDateTime64(3, 'UTC')いいえ
is_successUInt8いいえ
userStringはい

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いいえ
sizeInt64いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
usdc_balanceInt64いいえ
userFixedString(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いいえ
rewardDecimal(38, 8)いいえ
reward_weiUInt64いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
sourceLowCardinality(String)いいえ
validatorFixedString(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いいえ
priceDecimal(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)いいえ
sizeDecimal(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')いいえ
userFixedString(42)はい

hyperliquid_fills

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

Column種類Sort Key
block_numberUInt64はい
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))いいえ
liquidation_mark_priceNullable(Decimal(38, 18))いいえ
liquidation_methodNullable(String)いいえ
oidUInt64いいえ
priceDecimal(38, 18)いいえ
priority_gasNullable(Decimal(38, 18))いいえ
sideEnum8('B' = 1, 'A' = 2)いいえ
sizeDecimal(38, 18)いいえ
start_positionDecimal(38, 18)いいえ
tidUInt64はい
時間DateTime64(3, 'UTC')いいえ
twap_idNullable(UInt64)いいえ
userFixedString(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')はい
userFixedString(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))いいえ
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))いいえ
nonceNullable(UInt64)いいえ
operationNullable(String)いいえ
requested_usdNullable(Decimal(38, 18))いいえ
secondary_userNullable(FixedString(42))いいえ
source_dexNullable(String)いいえ
時間DateTime64(6, 'UTC')はい
to_perpNullable(UInt8)いいえ
tokenNullable(String)いいえ
usdc_amountNullable(Decimal(38, 18))いいえ
usdc_valueNullable(Decimal(38, 18))いいえ
userFixedString(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))いいえ
openSimpleAggregateFunction(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)はい
day日付はい
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)いいえ
day日付はい
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))いいえ
priceDecimal(38, 18)いいえ
sideEnum8('B' = 1, 'A' = 2)はい
sizeNullable(Decimal(38, 18))いいえ
userFixedString(42)いいえ

hyperliquid_orders

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

Column種類Sort Key
block_numberUInt64はい
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いいえ
sideEnum8('B' = 1, 'A' = 2)いいえ
sizeDecimal(38, 18)いいえ
ステータスLowCardinality(String)いいえ
status_timeDateTime64(6, 'UTC')はい
tifLowCardinality(String)いいえ
trigger_conditionNullable(String)いいえ
trigger_priceNullable(Decimal(38, 18))いいえ
unique_idStringいいえ
userFixedString(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')いいえ
sourceLowCardinality(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)いいえ
fundingDecimal(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いいえ
sizeInt64いいえ
snapshot_timeDateTime64(6, 'UTC')いいえ
usdc_balanceInt64いいえ
userStringはい

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')いいえ
errorNullable(String)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_successUInt8いいえ
referral_codeStringはい
roundUInt64いいえ
tx_hashStringいいえ
userStringはい

hyperliquid_set_referrer

Sort Keys: ⚡ referral_code, user | Partition: none

Column種類Sort Key
block_timeDateTime64(6, 'UTC')いいえ
errorNullable(String)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_successUInt8いいえ
referral_codeStringはい
roundUInt64いいえ
tx_hashStringいいえ
userStringはい

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')いいえ
tokenStringいいえ
token_idxUInt16はい
totalInt64いいえ
userStringはい

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')いいえ
tokenLowCardinality(String)いいえ
token_idxUInt16はい
totalInt64いいえ
userFixedString(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いいえ
tokenLowCardinality(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')いいえ
userFixedString(42)いいえ
validatorNullable(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')はい
userStringはい
引き出し可能Decimal(38, 18)いいえ

hyperliquid_system_actions

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

Column種類Sort Key
actionStringいいえ
action_typeLowCardinality(String)いいえ
agent_addressNullable(FixedString(42))いいえ
agent_nameNullable(String)いいえ
block_numberUInt64はい
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)いいえ
nonceUInt64はい
ntlNullable(Decimal(38, 18))いいえ
order_groupingNullable(String)いいえ
signature_chain_idNullable(String)いいえ
source_dex_or_spotNullable(UInt8)いいえ
to_perpNullable(UInt8)いいえ
tokenNullable(UInt16)いいえ
userFixedString(42)いいえ
validatorNullable(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)いいえ
priceDecimal(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)いいえ
sizeDecimal(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
actionJSONいいえ
action_typeLowCardinality(String)いいえ
block_timeDateTime64(6, 'UTC')いいえ
errorNullable(String)いいえ
indexed_atDateTime64(3, 'UTC')いいえ
is_successUInt8いいえ
nonceUInt64はい
proposerNullable(String)いいえ
roundUInt64はい
tx_hashStringはい
userNullable(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)いいえ
sizeDecimal(38, 18)いいえ
ステータスLowCardinality(String)いいえ
時間DateTime64(6, 'UTC')はい
タイムスタンプDateTime64(3, 'UTC')いいえ
twap_idUInt64はい
userFixedString(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')いいえ
rewardDecimal(38, 18)いいえ
時間DateTime64(6, 'UTC')はい
validatorFixedString(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"

Replace 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]