Zum Hauptinhalt springen

Schema Reference

Aktualisiert am
02. April 2026

Übersicht

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)

ColumnTypSort Key
agentFixedString(42)Ja
block_numberUInt64Ja
indexed_atDateTime64(3, 'UTC')Nein
NameStringNein
snapshot_timeDateTime64(6, 'UTC')Nein
userFixedString(42)Nein
valid_untilStringNein

hyperliquid_asset_transfers

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

ColumnTypSort Key
BetragNullable(Decimal(38, 18))Nein
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
destinationNullable(FixedString(42))Nein
GebührNullable(Decimal(38, 18))Nein
indexed_atDateTime64(3, 'UTC')Nein
NonceNullable(UInt64)Nein
ZeitDateTime64(6, 'UTC')Nein
TokenNullable(String)Nein
transfer_typeLowCardinality(String)Nein
tx_hashFixedString(66)Ja
usdc_amountNullable(Decimal(38, 18))Nein
userFixedString(42)Ja

hyperliquid_blocks

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
book_diffs_countUInt32Nein
fills_countUInt32Nein
indexed_atDateTime64(3, 'UTC')Nein
misc_events_countUInt32Nein
orders_countUInt32Nein
twap_statuses_countUInt32Nein
writer_actions_countUInt32Nein

hyperliquid_bridge

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

ColumnTypSort Key
amount_weiUInt64Nein
block_numberUInt64Ja
bridge_typeLowCardinality(String)Ja
eth_block_numberUInt64Ja
event_timeStringNein
indexed_atDateTime64(3, 'UTC')Nein
NonceUInt64Ja
snapshot_timeDateTime64(6, 'UTC')Nein
tx_hashStringJa
userFixedString(42)Ja

hyperliquid_builder_fills

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

ColumnTypSort Key
block_numberUInt64Nein
block_timeDateTime64(6, 'UTC')Nein
builder_addressNullable(FixedString(42))Ja
builder_feeNullable(Decimal(38, 18))Nein
cloidNullable(String)Nein
closed_pnlDecimal(38, 18)Nein
MünzeLowCardinality(String)Nein
created_atDateTime64(6, 'UTC')Nein
crossedUInt8Nein
dirLowCardinality(String)Nein
GebührDecimal(38, 18)Nein
HashFixedString(66)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_liquidationUInt8Nein
liquidated_userNullable(FixedString(42))Nein
liquidation_mark_priceNullable(Decimal(38, 18))Nein
liquidation_methodNullable(String)Nein
oidUInt64Nein
PreisDecimal(38, 18)Nein
SeiteEnum8('B' = 1, 'A' = 2)Nein
GrößeDecimal(38, 18)Nein
start_positionDecimal(38, 18)Nein
tidUInt64Ja
ZeitstempelDateTime64(3, 'UTC')Ja
twap_idNullable(UInt64)Nein
updated_atDateTime64(6, 'UTC')Nein
userFixedString(42)Nein

hyperliquid_builder_transactions

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

ColumnTypSort Key
action_typeLowCardinality(String)Nein
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
builderStringNein
builder_feeNullable(Decimal(38, 18))Nein
MünzeNullable(String)Nein
HashStringJa
indexed_atDateTime64(3, 'UTC')Nein
is_successUInt8Nein
userStringJa

hyperliquid_clearinghouse_states

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

ColumnTypSort Key
asset_idxUInt16Ja
block_numberUInt64Ja
clearinghouseUInt8Ja
MünzeLowCardinality(String)Nein
entry_notionalUInt64Nein
funding_alltimeInt64Nein
funding_since_changeInt64Nein
funding_since_openInt64Nein
indexed_atDateTime64(3, 'UTC')Nein
marginUInt64Nein
GrößeInt64Nein
snapshot_timeDateTime64(6, 'UTC')Nein
usdc_balanceInt64Nein
userFixedString(42)Ja

hyperliquid_delegator_rewards

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

ColumnTypSort Key
block_numberUInt64Ja
cUInt64Nein
commission_bpsUInt16Nein
delegatorFixedString(42)Ja
eUInt64Nein
indexed_atDateTime64(3, 'UTC')Nein
mUInt64Nein
rewardDecimal(38, 8)Nein
reward_weiUInt64Nein
snapshot_timeDateTime64(6, 'UTC')Nein
sourceLowCardinality(String)Nein
ValidatorFixedString(42)Ja
validator_total_delegatedUInt64Nein

hyperliquid_dex_trades

Sort Keys: ⚡ none | Partition: none

ColumnTypSort Key
block_numberUInt64Nein
block_timeDateTime64(6, 'UTC')Nein
buyer_addressFixedString(42)Nein
buyer_builder_addressNullable(FixedString(42))Nein
buyer_builder_feeNullable(Decimal(38, 18))Nein
buyer_closed_pnlDecimal(38, 18)Nein
buyer_crossedUInt8Nein
buyer_dirLowCardinality(String)Nein
buyer_feeDecimal(38, 18)Nein
buyer_order_idUInt64Nein
buyer_start_positionDecimal(38, 18)Nein
buyer_twap_idNullable(UInt64)Nein
MünzeLowCardinality(String)Nein
fee_tokenLowCardinality(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
liquidated_userNullable(FixedString(42))Nein
liquidation_mark_priceNullable(Decimal(38, 18))Nein
liquidation_methodNullable(String)Nein
market_typeStringNein
PreisDecimal(38, 18)Nein
seller_addressFixedString(42)Nein
seller_builder_addressNullable(FixedString(42))Nein
seller_builder_feeNullable(Decimal(38, 18))Nein
seller_closed_pnlDecimal(38, 18)Nein
seller_crossedUInt8Nein
seller_dirLowCardinality(String)Nein
seller_feeDecimal(38, 18)Nein
seller_order_idUInt64Nein
seller_start_positionDecimal(38, 18)Nein
seller_twap_idNullable(UInt64)Nein
SeiteEnum8('B' = 1, 'A' = 2)Nein
GrößeDecimal(38, 18)Nein
ZeitstempelDateTime64(3, 'UTC')Nein
total_builder_feeNullable(Decimal(38, 18))Nein
trade_idUInt64Nein
transaction_hashFixedString(66)Nein
unique_idStringNein
usd_amountDecimal(38, 18)Nein

hyperliquid_display_names

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

ColumnTypSort Key
block_numberUInt64Ja
display_nameStringNein
indexed_atDateTime64(3, 'UTC')Nein
snapshot_timeDateTime64(6, 'UTC')Nein
userFixedString(42)Ja

hyperliquid_fills

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
builderNullable(FixedString(42))Nein
builder_feeNullable(Decimal(38, 18))Nein
cloidNullable(String)Nein
closed_pnlDecimal(38, 18)Nein
MünzeLowCardinality(String)Nein
crossedUInt8Nein
deployer_feeNullable(Decimal(38, 18))Nein
dirLowCardinality(String)Nein
GebührDecimal(38, 18)Nein
fee_tokenLowCardinality(String)Nein
HashFixedString(66)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_liquidationUInt8Nein
liquidated_userNullable(FixedString(42))Nein
liquidation_mark_priceNullable(Decimal(38, 18))Nein
liquidation_methodNullable(String)Nein
oidUInt64Nein
PreisDecimal(38, 18)Nein
priority_gasNullable(Decimal(38, 18))Nein
SeiteEnum8('B' = 1, 'A' = 2)Nein
GrößeDecimal(38, 18)Nein
start_positionDecimal(38, 18)Nein
tidUInt64Ja
ZeitDateTime64(3, 'UTC')Nein
twap_idNullable(UInt64)Nein
userFixedString(42)Ja

hyperliquid_funding

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
MünzeLowCardinality(String)Ja
funding_amountDecimal(38, 18)Nein
funding_rateDecimal(38, 18)Nein
HashFixedString(66)Nein
indexed_atDateTime64(3, 'UTC')Nein
sziDecimal(38, 18)Nein
ZeitDateTime64(6, 'UTC')Ja
userFixedString(42)Ja

hyperliquid_funding_summary_hourly

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

ColumnTypSort Key
avg_funding_rateSimpleAggregateFunction(any, Float64)Nein
MünzeLowCardinality(String)Ja
hourDateTime('UTC')Ja
total_fundingSimpleAggregateFunction(sum, Decimal(38, 18))Nein
unique_usersSimpleAggregateFunction(max, UInt64)Nein

hyperliquid_ledger_updates

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

ColumnTypSort Key
account_valueNullable(Decimal(38, 18))Nein
BetragNullable(Decimal(38, 18))Nein
basisNullable(Decimal(38, 18))Nein
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
closing_costNullable(Decimal(38, 18))Nein
commissionNullable(Decimal(38, 18))Nein
delta_typeLowCardinality(String)Nein
destinationNullable(FixedString(42))Nein
destination_dexNullable(String)Nein
dexNullable(String)Nein
GebührNullable(Decimal(38, 18))Nein
fee_tokenNullable(String)Nein
HashFixedString(66)Ja
indexed_atDateTime64(3, 'UTC')Nein
interest_amountNullable(Decimal(38, 18))Nein
is_depositNullable(UInt8)Nein
leverage_typeNullable(String)Nein
liquidated_ntl_posNullable(Decimal(38, 18))Nein
liquidated_positionsNullable(String)Nein
native_token_feeNullable(Decimal(38, 18))Nein
net_withdrawn_usdNullable(Decimal(38, 18))Nein
NonceNullable(UInt64)Nein
operationNullable(String)Nein
requested_usdNullable(Decimal(38, 18))Nein
secondary_userNullable(FixedString(42))Nein
source_dexNullable(String)Nein
ZeitDateTime64(6, 'UTC')Ja
to_perpNullable(UInt8)Nein
TokenNullable(String)Nein
usdc_amountNullable(Decimal(38, 18))Nein
usdc_valueNullable(Decimal(38, 18))Nein
userFixedString(42)Ja
vaultNullable(FixedString(42))Nein

hyperliquid_liquidations_hourly

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

ColumnTypSort Key
MünzeLowCardinality(String)Ja
hourDateTimeJa
liquidated_volumeSimpleAggregateFunction(sum, Decimal(38, 18))Nein
liquidation_countSimpleAggregateFunction(sum, UInt64)Nein
unique_liquidated_usersSimpleAggregateFunction(max, UInt64)Nein

hyperliquid_market_volume_hourly

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

ColumnTypSort Key
closeSimpleAggregateFunction(anyLast, Decimal(38, 18))Nein
MünzeLowCardinality(String)Ja
highSimpleAggregateFunction(max, Decimal(38, 18))Nein
hourDateTime('UTC')Ja
lowSimpleAggregateFunction(min, Decimal(38, 18))Nein
openSimpleAggregateFunction(any, Decimal(38, 18))Nein
trade_countSimpleAggregateFunction(sum, UInt64)Nein
volumeSimpleAggregateFunction(sum, Decimal(38, 18))Nein

hyperliquid_metrics_dex_overview

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

ColumnTypSort Key
MünzeLowCardinality(String)Ja
dayDateJa
GebührenSimpleAggregateFunction(sum, Decimal(38, 18))Nein
fill_countSimpleAggregateFunction(sum, UInt64)Nein
high_priceSimpleAggregateFunction(max, Decimal(38, 18))Nein
liquidationsSimpleAggregateFunction(sum, UInt64)Nein
low_priceSimpleAggregateFunction(min, Decimal(38, 18))Nein
unique_tradersSimpleAggregateFunction(max, UInt64)Nein
volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))Nein

hyperliquid_metrics_overview

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

ColumnTypSort Key
active_tradersSimpleAggregateFunction(max, UInt64)Nein
builder_fill_countSimpleAggregateFunction(sum, UInt64)Nein
coins_tradedSimpleAggregateFunction(max, UInt64)Nein
dayDateJa
liquidation_countSimpleAggregateFunction(sum, UInt64)Nein
liquidation_volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))Nein
total_builder_feesSimpleAggregateFunction(sum, Decimal(38, 18))Nein
total_feesSimpleAggregateFunction(sum, Decimal(38, 18))Nein
total_fillsSimpleAggregateFunction(sum, UInt64)Nein
total_volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))Nein

hyperliquid_oracle_prices

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

ColumnTypSort Key
asset_idxUInt16Ja
block_numberUInt64Ja
clearinghouseUInt8Ja
MünzeLowCardinality(String)Nein
daily_pxStringNein
indexed_atDateTime64(3, 'UTC')Nein
mark_pxStringNein
snapshot_timeDateTime64(6, 'UTC')Nein

hyperliquid_order_book_diffs

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
MünzeLowCardinality(String)Ja
diff_typeLowCardinality(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
new_sizeNullable(Decimal(38, 18))Nein
oidUInt64Ja
orig_sizeNullable(Decimal(38, 18))Nein
PreisDecimal(38, 18)Nein
SeiteEnum8('B' = 1, 'A' = 2)Ja
GrößeNullable(Decimal(38, 18))Nein
userFixedString(42)Nein

hyperliquid_orders

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
builderNullable(String)Nein
childrenNullable(String)Nein
cloidNullable(String)Nein
MünzeLowCardinality(String)Nein
HashNullable(FixedString(66))Nein
indexed_atDateTime64(3, 'UTC')Nein
is_position_tpslUInt8Nein
is_triggerUInt8Nein
limit_priceDecimal(38, 18)Nein
oidUInt64Ja
order_timestampDateTime64(3, 'UTC')Nein
order_typeLowCardinality(String)Nein
orig_sizeDecimal(38, 18)Nein
reduce_onlyUInt8Nein
SeiteEnum8('B' = 1, 'A' = 2)Nein
GrößeDecimal(38, 18)Nein
StatusLowCardinality(String)Nein
status_timeDateTime64(6, 'UTC')Ja
tifLowCardinality(String)Nein
trigger_conditionNullable(String)Nein
trigger_priceNullable(Decimal(38, 18))Nein
unique_idStringNein
userFixedString(42)Nein

hyperliquid_outcome_markets

Sort Keys: ⚡ none | Partition: none

ColumnTypSort Key
base_token_idxNullable(UInt64)Nein
block_numberUInt64Nein
MünzeNullable(String)Nein
BeschreibungStringNein
expiryStringNein
fee_shareFloat64Nein
first_enabled_as_quoteStringNein
indexed_atDateTime64(3, 'UTC')Nein
is_liquid_baseUInt8Nein
is_liquid_quoteUInt8Nein
lockedUInt8Nein
NameLowCardinality(String)Nein
ndoUInt64Nein
nouUInt64Nein
nquUInt64Nein
outcome_classLowCardinality(String)Nein
outcome_idUInt64Nein
pair_nameStringNein
periodLowCardinality(String)Nein
quote_rawNullable(UInt64)Nein
quote_token_idxNullable(UInt64)Nein
quote_token_nameNullable(String)Nein
quote_token_statusLowCardinality(String)Nein
quote_token_usdc_pxDecimal(38, 18)Nein
quote_token_usdc_px_rawUInt64Nein
raw_side_jsonStringNein
raw_spec_jsonStringNein
side_countUInt16Nein
side_indexUInt8Nein
side_nameLowCardinality(String)Nein
snapshot_timeDateTime64(6, 'UTC')Nein
spot_deploy_timeStringNein
spot_indexNullable(UInt64)Nein
spot_resolutionLowCardinality(String)Nein
target_priceStringNein
token_idxNullable(UInt64)Nein
token_nameNullable(String)Nein
underlyingLowCardinality(String)Nein

hyperliquid_outcome_meta

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

ColumnTypSort Key
block_numberUInt64Ja
deploy_gas_auction_jsonStringNein
BeschreibungStringNein
expiryStringNein
fee_shareFloat64Nein
indexed_atDateTime64(3, 'UTC')Nein
lockedUInt8Nein
NameLowCardinality(String)Nein
ndoUInt64Nein
nouUInt64Nein
nquUInt64Nein
outcome_classLowCardinality(String)Nein
outcome_idUInt64Ja
periodLowCardinality(String)Nein
quote_rawNullable(UInt64)Nein
raw_spec_jsonStringNein
side_countUInt16Nein
snapshot_timeDateTime64(6, 'UTC')Nein
target_priceStringNein
underlyingLowCardinality(String)Nein

hyperliquid_outcome_question_members

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

ColumnTypSort Key
block_numberUInt64Ja
indexed_atDateTime64(3, 'UTC')Nein
is_fallbackUInt8Nein
is_settledUInt8Nein
outcome_idUInt64Ja
question_idUInt64Ja
snapshot_timeDateTime64(6, 'UTC')Nein
sourceLowCardinality(String)Nein

hyperliquid_outcome_questions

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

ColumnTypSort Key
block_numberUInt64Ja
BeschreibungStringNein
fallback_outcomeNullable(UInt64)Nein
indexed_atDateTime64(3, 'UTC')Nein
NameStringNein
named_outcomes_jsonStringNein
question_idUInt64Ja
raw_question_jsonStringNein
settled_named_outcomes_jsonStringNein
snapshot_timeDateTime64(6, 'UTC')Nein

hyperliquid_outcome_sides

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

ColumnTypSort Key
base_token_idxNullable(UInt64)Nein
block_numberUInt64Ja
MünzeNullable(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
outcome_idUInt64Ja
quote_token_idxNullable(UInt64)Nein
quote_token_nameNullable(String)Nein
raw_side_jsonStringNein
side_indexUInt8Ja
side_m_rawStringNein
side_m_valueNullable(Int64)Nein
side_nameLowCardinality(String)Nein
snapshot_timeDateTime64(6, 'UTC')Nein
spot_indexNullable(UInt64)Nein
spot_indices_jsonStringNein
spot_resolutionLowCardinality(String)Nein
token_idxNullable(UInt64)Nein
token_nameNullable(String)Nein

hyperliquid_perpetual_market_contexts

Sort Keys: ⚡ none | Partition: none

ColumnTypSort Key
MünzeLowCardinality(String)Nein
day_base_vlmDecimal(38, 18)Nein
day_ntl_vlmDecimal(38, 18)Nein
fundingDecimal(38, 18)Nein
impact_askNullable(Decimal(38, 18))Nein
impact_bidNullable(Decimal(38, 18))Nein
mark_pxDecimal(38, 18)Nein
mid_pxDecimal(38, 18)Nein
open_interestDecimal(38, 18)Nein
oracle_pxDecimal(38, 18)Nein
polled_atDateTime64(6, 'UTC')Nein
premiumDecimal(38, 18)Nein
prev_day_pxDecimal(38, 18)Nein

hyperliquid_perpetual_markets

Sort Keys: ⚡ coin | Partition: none

ColumnTypSort Key
MünzeLowCardinality(String)Ja
indexed_atDateTime64(3, 'UTC')Nein
margin_table_idNullable(UInt16)Nein
market_indexUInt16Nein
max_leverageUInt16Nein
only_isolatedUInt8Nein
sz_decimalsUInt8Nein

hyperliquid_perpetual_positions

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

ColumnTypSort Key
asset_idxUInt16Ja
block_numberUInt64Ja
clearinghouseUInt8Ja
MünzeStringNein
entry_notionalUInt64Nein
funding_alltimeInt64Nein
funding_since_changeInt64Nein
funding_since_openInt64Nein
indexed_atDateTime64(3, 'UTC')Nein
marginUInt64Nein
GrößeInt64Nein
snapshot_timeDateTime64(6, 'UTC')Nein
usdc_balanceInt64Nein
userStringJa

hyperliquid_quote_token_meta

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

ColumnTypSort Key
aligned_quote_info_jsonStringNein
block_numberUInt64Ja
first_enabled_as_quoteStringNein
indexed_atDateTime64(3, 'UTC')Nein
is_liquid_baseUInt8Nein
is_liquid_quoteUInt8Nein
snapshot_timeDateTime64(6, 'UTC')Nein
StatusLowCardinality(String)Nein
token_idxUInt64Ja
token_nameLowCardinality(String)Nein

hyperliquid_register_referral

Sort Keys: ⚡ referral_code, user | Partition: none

ColumnTypSort Key
block_timeDateTime64(6, 'UTC')Nein
FehlerNullable(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_successUInt8Nein
referral_codeStringJa
rundUInt64Nein
tx_hashStringNein
userStringJa

hyperliquid_set_referrer

Sort Keys: ⚡ referral_code, user | Partition: none

ColumnTypSort Key
block_timeDateTime64(6, 'UTC')Nein
FehlerNullable(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_successUInt8Nein
referral_codeStringJa
rundUInt64Nein
tx_hashStringNein
userStringJa

hyperliquid_spot_balances

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

ColumnTypSort Key
block_numberUInt64Ja
escrowedInt64Nein
indexed_atDateTime64(3, 'UTC')Nein
snapshot_timeDateTime64(6, 'UTC')Nein
TokenStringNein
token_idxUInt16Ja
insgesamtInt64Nein
userStringJa

hyperliquid_spot_clearinghouse_states

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

ColumnTypSort Key
block_numberUInt64Ja
escrowedInt64Nein
indexed_atDateTime64(3, 'UTC')Nein
snapshot_timeDateTime64(6, 'UTC')Nein
TokenLowCardinality(String)Nein
token_idxUInt16Ja
insgesamtInt64Nein
userFixedString(42)Ja

hyperliquid_spot_markets

Sort Keys: ⚡ token_index | Partition: none

ColumnTypSort Key
deployer_trading_fee_shareNullable(String)Nein
evm_contractNullable(String)Nein
vollständiger_NameNullable(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_canonicalUInt8Nein
pair_indexNullable(UInt16)Nein
pair_nameNullable(String)Nein
sz_decimalsUInt8Nein
TokenLowCardinality(String)Nein
token_idStringNein
token_indexUInt16Ja
wei_decimalsUInt8Nein

hyperliquid_spot_pairs

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

ColumnTypSort Key
base_token_idxUInt64Nein
base_token_nameLowCardinality(String)Nein
block_numberUInt64Ja
deploy_timeStringNein
indexed_atDateTime64(3, 'UTC')Nein
pair_nameStringNein
quote_token_idxUInt64Nein
quote_token_nameLowCardinality(String)Nein
raw_spot_info_jsonStringNein
snapshot_timeDateTime64(6, 'UTC')Nein
spot_indexUInt64Ja

hyperliquid_staking_events

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

ColumnTypSort Key
BetragDecimal(38, 18)Nein
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
event_typeEnum8('CDeposit' = 1, 'CWithdrawal' = 2, 'Delegation' = 3)Nein
HashFixedString(66)Ja
indexed_atDateTime64(3, 'UTC')Nein
is_finalizedNullable(UInt8)Nein
is_undelegateNullable(UInt8)Nein
ZeitDateTime64(6, 'UTC')Nein
userFixedString(42)Nein
ValidatorNullable(FixedString(42))Nein

hyperliquid_sub_accounts

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

ColumnTypSort Key
block_numberUInt64Ja
indexed_atDateTime64(3, 'UTC')Nein
master_accountFixedString(42)Nein
NameNullable(String)Nein
snapshot_timeDateTime64(6, 'UTC')Nein
sub_accountFixedString(42)Ja

hyperliquid_summaries

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

ColumnTypSort Key
cross_maintenance_margin_usedDecimal(38, 18)Nein
cross_margin_account_valueDecimal(38, 18)Nein
cross_margin_total_margin_usedDecimal(38, 18)Nein
cross_margin_total_natl_posDecimal(38, 18)Nein
cross_margin_total_raw_usdDecimal(38, 18)Nein
indexed_atDateTime64(3, 'UTC')Nein
margin_account_valueDecimal(38, 18)Nein
margin_total_margin_usedDecimal(38, 18)Nein
margin_total_natl_posDecimal(38, 18)Nein
margin_total_raw_usdDecimal(38, 18)Nein
polled_atDateTime64(3, 'UTC')Ja
userStringJa
withdrawableDecimal(38, 18)Nein

hyperliquid_system_actions

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

ColumnTypSort Key
AktionStringNein
action_typeLowCardinality(String)Nein
agent_addressNullable(FixedString(42))Nein
agent_nameNullable(String)Nein
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
destinationNullable(FixedString(42))Nein
destination_dex_or_spotNullable(UInt8)Nein
evm_tx_hashFixedString(66)Ja
from_sub_accountNullable(UInt8)Nein
hyperliquid_chainNullable(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_mintNullable(UInt8)Nein
is_undelegateNullable(UInt8)Nein
NonceUInt64Ja
ntlNullable(Decimal(38, 18))Nein
order_groupingNullable(String)Nein
signature_chain_idNullable(String)Nein
source_dex_or_spotNullable(UInt8)Nein
to_perpNullable(UInt8)Nein
TokenNullable(UInt16)Nein
userFixedString(42)Nein
ValidatorNullable(FixedString(42))Nein
weiNullable(UInt256)Nein

hyperliquid_token_usdc_prices

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

ColumnTypSort Key
approx_usdc_pxDecimal(38, 18)Nein
approx_usdc_px_float_1e6Float64Nein
approx_usdc_px_rawUInt64Nein
block_numberUInt64Ja
indexed_atDateTime64(3, 'UTC')Nein
raw_pair_jsonStringNein
snapshot_timeDateTime64(6, 'UTC')Nein
token_idxUInt64Ja
token_nameLowCardinality(String)Nein

hyperliquid_trades

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
buyer_addressFixedString(42)Nein
buyer_builder_addressNullable(FixedString(42))Nein
buyer_builder_feeNullable(Decimal(38, 18))Nein
buyer_closed_pnlDecimal(38, 18)Nein
buyer_crossedUInt8Nein
buyer_deployer_feeNullable(Decimal(38, 18))Nein
buyer_dirLowCardinality(String)Nein
buyer_feeDecimal(38, 18)Nein
buyer_order_idUInt64Nein
buyer_priority_gasNullable(Decimal(38, 18))Nein
buyer_start_positionDecimal(38, 18)Nein
buyer_twap_idNullable(UInt64)Nein
MünzeLowCardinality(String)Nein
fee_tokenLowCardinality(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
liquidated_userNullable(FixedString(42))Nein
liquidation_mark_priceNullable(Decimal(38, 18))Nein
liquidation_methodNullable(String)Nein
PreisDecimal(38, 18)Nein
seller_addressFixedString(42)Nein
seller_builder_addressNullable(FixedString(42))Nein
seller_builder_feeNullable(Decimal(38, 18))Nein
seller_closed_pnlDecimal(38, 18)Nein
seller_crossedUInt8Nein
seller_deployer_feeNullable(Decimal(38, 18))Nein
seller_dirLowCardinality(String)Nein
seller_feeDecimal(38, 18)Nein
seller_order_idUInt64Nein
seller_priority_gasNullable(Decimal(38, 18))Nein
seller_start_positionDecimal(38, 18)Nein
seller_twap_idNullable(UInt64)Nein
SeiteEnum8('B' = 1, 'A' = 2)Nein
GrößeDecimal(38, 18)Nein
ZeitstempelDateTime64(3, 'UTC')Nein
total_builder_feeNullable(Decimal(38, 18))Nein
trade_idUInt64Ja
transaction_hashFixedString(66)Nein
unique_idStringNein

hyperliquid_transactions

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

ColumnTypSort Key
AktionJSONNein
action_typeLowCardinality(String)Nein
block_timeDateTime64(6, 'UTC')Nein
FehlerNullable(String)Nein
indexed_atDateTime64(3, 'UTC')Nein
is_successUInt8Nein
NonceUInt64Ja
AntragstellerNullable(String)Nein
rundUInt64Ja
tx_hashStringJa
userNullable(String)Nein
vault_addressNullable(String)Nein

hyperliquid_twap_statuses

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
MünzeLowCardinality(String)Nein
executed_ntlDecimal(38, 18)Nein
executed_sizeDecimal(38, 18)Nein
indexed_atDateTime64(3, 'UTC')Nein
minutesUInt16Nein
randomizeUInt8Nein
reduce_onlyUInt8Nein
SeiteEnum8('B' = 1, 'A' = 2)Nein
GrößeDecimal(38, 18)Nein
StatusLowCardinality(String)Nein
ZeitDateTime64(6, 'UTC')Ja
ZeitstempelDateTime64(3, 'UTC')Nein
twap_idUInt64Ja
userFixedString(42)Nein

hyperliquid_validator_rewards

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

ColumnTypSort Key
block_numberUInt64Ja
block_timeDateTime64(6, 'UTC')Nein
HashFixedString(66)Nein
indexed_atDateTime64(3, 'UTC')Nein
rewardDecimal(38, 18)Nein
ZeitDateTime64(6, 'UTC')Ja
ValidatorFixedString(42)Ja

hyperliquid_vault_equities

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

ColumnTypSort Key
block_numberUInt64Ja
depositorFixedString(42)Ja
indexed_atDateTime64(3, 'UTC')Nein
leaderFixedString(42)Nein
leader_commissionFloat64Nein
net_depositsInt64Nein
ownership_fractionFloat64Nein
snapshot_timeDateTime64(6, 'UTC')Nein
vault_addressFixedString(42)Ja
vault_nameStringNein

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"

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

Wir ❤️ Feedback!

Wenn Sie Anregungen oder Fragen zu dieser Dokumentation haben, teilen Sie uns diese bitte mit. Wir freuen uns auf Ihre Rückmeldung!

Dieses Dokument teilen