Ir diretamente para o conteúdo principal

Schema Reference

Atualizado em
Aug 14, 2026

Visão geral

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)

ColumnTipoSort Key
agentFixedString(42)Sim
block_numberUInt64Sim
indexed_atDateTime64(3, 'UTC')Não
nomeStringNão
snapshot_timeDateTime64(6, 'UTC')Não
userFixedString(42)Não
valid_untilStringNão

hyperliquid_asset_transfers

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

ColumnTipoSort Key
quantiaNullable(Decimal(38, 18))Não
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
destinationNullable(FixedString(42))Não
feeNullable(Decimal(38, 18))Não
indexed_atDateTime64(3, 'UTC')Não
nonceNullable(UInt64)Não
horaDateTime64(6, 'UTC')Não
fichaNullable(String)Não
transfer_typeLowCardinality(String)Não
tx_hashFixedString(66)Sim
usdc_amountNullable(Decimal(38, 18))Não
userFixedString(42)Sim

hyperliquid_blocks

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
book_diffs_countUInt32Não
fills_countUInt32Não
indexed_atDateTime64(3, 'UTC')Não
misc_events_countUInt32Não
orders_countUInt32Não
twap_statuses_countUInt32Não
writer_actions_countUInt32Não

hyperliquid_bridge

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

ColumnTipoSort Key
amount_weiUInt64Não
block_numberUInt64Sim
bridge_typeLowCardinality(String)Sim
eth_block_numberUInt64Sim
event_timeStringNão
indexed_atDateTime64(3, 'UTC')Não
nonceUInt64Sim
snapshot_timeDateTime64(6, 'UTC')Não
tx_hashStringSim
userFixedString(42)Sim

hyperliquid_builder_fills

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

ColumnTipoSort Key
block_numberUInt64Não
block_timeDateTime64(6, 'UTC')Não
builder_addressNullable(FixedString(42))Sim
builder_feeNullable(Decimal(38, 18))Não
cloidNullable(String)Não
closed_pnlDecimal(38, 18)Não
moedaLowCardinality(String)Não
created_atDateTime64(6, 'UTC')Não
crossedUInt8Não
dirLowCardinality(String)Não
feeDecimal(38, 18)Não
hashFixedString(66)Não
indexed_atDateTime64(3, 'UTC')Não
is_liquidationUInt8Não
liquidated_userNullable(FixedString(42))Não
liquidation_mark_priceNullable(Decimal(38, 18))Não
liquidation_methodNullable(String)Não
oidUInt64Não
preçoDecimal(38, 18)Não
ladoEnum8('B' = 1, 'A' = 2)Não
tamanhoDecimal(38, 18)Não
start_positionDecimal(38, 18)Não
tidUInt64Sim
marca temporalDateTime64(3, 'UTC')Sim
twap_idNullable(UInt64)Não
atualizado_emDateTime64(6, 'UTC')Não
userFixedString(42)Não

hyperliquid_builder_transactions

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

ColumnTipoSort Key
action_typeLowCardinality(String)Não
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
builderStringNão
builder_feeNullable(Decimal(38, 18))Não
moedaNullable(String)Não
hashStringSim
indexed_atDateTime64(3, 'UTC')Não
is_successUInt8Não
userStringSim

hyperliquid_clearinghouse_states

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

ColumnTipoSort Key
asset_idxUInt16Sim
block_numberUInt64Sim
clearinghouseUInt8Sim
moedaLowCardinality(String)Não
entry_notionalUInt64Não
funding_alltimeInt64Não
funding_since_changeInt64Não
funding_since_openInt64Não
indexed_atDateTime64(3, 'UTC')Não
marginUInt64Não
tamanhoInt64Não
snapshot_timeDateTime64(6, 'UTC')Não
usdc_balanceInt64Não
userFixedString(42)Sim

hyperliquid_delegator_rewards

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

ColumnTipoSort Key
block_numberUInt64Sim
cUInt64Não
commission_bpsUInt16Não
delegatorFixedString(42)Sim
eUInt64Não
indexed_atDateTime64(3, 'UTC')Não
mUInt64Não
rewardDecimal(38, 8)Não
reward_weiUInt64Não
snapshot_timeDateTime64(6, 'UTC')Não
sourceLowCardinality(String)Não
validatorFixedString(42)Sim
validator_total_delegatedUInt64Não

hyperliquid_dex_trades

Sort Keys: ⚡ none | Partition: none

ColumnTipoSort Key
block_numberUInt64Não
block_timeDateTime64(6, 'UTC')Não
buyer_addressFixedString(42)Não
buyer_builder_addressNullable(FixedString(42))Não
buyer_builder_feeNullable(Decimal(38, 18))Não
buyer_closed_pnlDecimal(38, 18)Não
buyer_crossedUInt8Não
buyer_dirLowCardinality(String)Não
buyer_feeDecimal(38, 18)Não
buyer_order_idUInt64Não
buyer_start_positionDecimal(38, 18)Não
buyer_twap_idNullable(UInt64)Não
moedaLowCardinality(String)Não
fee_tokenLowCardinality(String)Não
indexed_atDateTime64(3, 'UTC')Não
liquidated_userNullable(FixedString(42))Não
liquidation_mark_priceNullable(Decimal(38, 18))Não
liquidation_methodNullable(String)Não
market_typeStringNão
preçoDecimal(38, 18)Não
seller_addressFixedString(42)Não
seller_builder_addressNullable(FixedString(42))Não
seller_builder_feeNullable(Decimal(38, 18))Não
seller_closed_pnlDecimal(38, 18)Não
seller_crossedUInt8Não
seller_dirLowCardinality(String)Não
seller_feeDecimal(38, 18)Não
seller_order_idUInt64Não
seller_start_positionDecimal(38, 18)Não
seller_twap_idNullable(UInt64)Não
ladoEnum8('B' = 1, 'A' = 2)Não
tamanhoDecimal(38, 18)Não
marca temporalDateTime64(3, 'UTC')Não
total_builder_feeNullable(Decimal(38, 18))Não
trade_idUInt64Não
transaction_hashFixedString(66)Não
unique_idStringNão
usd_amountDecimal(38, 18)Não

hyperliquid_display_names

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

ColumnTipoSort Key
block_numberUInt64Sim
display_nameStringNão
indexed_atDateTime64(3, 'UTC')Não
snapshot_timeDateTime64(6, 'UTC')Não
userFixedString(42)Sim

hyperliquid_fills

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
builderNullable(FixedString(42))Não
builder_feeNullable(Decimal(38, 18))Não
cloidNullable(String)Não
closed_pnlDecimal(38, 18)Não
moedaLowCardinality(String)Não
crossedUInt8Não
deployer_feeNullable(Decimal(38, 18))Não
dirLowCardinality(String)Não
feeDecimal(38, 18)Não
fee_tokenLowCardinality(String)Não
hashFixedString(66)Não
indexed_atDateTime64(3, 'UTC')Não
is_liquidationUInt8Não
liquidated_userNullable(FixedString(42))Não
liquidation_mark_priceNullable(Decimal(38, 18))Não
liquidation_methodNullable(String)Não
oidUInt64Não
preçoDecimal(38, 18)Não
priority_gasNullable(Decimal(38, 18))Não
ladoEnum8('B' = 1, 'A' = 2)Não
tamanhoDecimal(38, 18)Não
start_positionDecimal(38, 18)Não
tidUInt64Sim
horaDateTime64(3, 'UTC')Não
twap_idNullable(UInt64)Não
userFixedString(42)Sim

hyperliquid_funding

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
moedaLowCardinality(String)Sim
funding_amountDecimal(38, 18)Não
funding_rateDecimal(38, 18)Não
hashFixedString(66)Não
indexed_atDateTime64(3, 'UTC')Não
sziDecimal(38, 18)Não
horaDateTime64(6, 'UTC')Sim
userFixedString(42)Sim

hyperliquid_funding_summary_hourly

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

ColumnTipoSort Key
avg_funding_rateSimpleAggregateFunction(any, Float64)Não
moedaLowCardinality(String)Sim
hourDateTime('UTC')Sim
total_fundingSimpleAggregateFunction(sum, Decimal(38, 18))Não
unique_usersSimpleAggregateFunction(max, UInt64)Não

hyperliquid_ledger_updates

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

ColumnTipoSort Key
account_valueNullable(Decimal(38, 18))Não
quantiaNullable(Decimal(38, 18))Não
basisNullable(Decimal(38, 18))Não
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
closing_costNullable(Decimal(38, 18))Não
commissionNullable(Decimal(38, 18))Não
delta_typeLowCardinality(String)Não
destinationNullable(FixedString(42))Não
destination_dexNullable(String)Não
dexNullable(String)Não
feeNullable(Decimal(38, 18))Não
fee_tokenNullable(String)Não
hashFixedString(66)Sim
indexed_atDateTime64(3, 'UTC')Não
interest_amountNullable(Decimal(38, 18))Não
is_depositNullable(UInt8)Não
leverage_typeNullable(String)Não
liquidated_ntl_posNullable(Decimal(38, 18))Não
liquidated_positionsNullable(String)Não
native_token_feeNullable(Decimal(38, 18))Não
net_withdrawn_usdNullable(Decimal(38, 18))Não
nonceNullable(UInt64)Não
operationNullable(String)Não
requested_usdNullable(Decimal(38, 18))Não
secondary_userNullable(FixedString(42))Não
source_dexNullable(String)Não
horaDateTime64(6, 'UTC')Sim
to_perpNullable(UInt8)Não
fichaNullable(String)Não
usdc_amountNullable(Decimal(38, 18))Não
usdc_valueNullable(Decimal(38, 18))Não
userFixedString(42)Sim
vaultNullable(FixedString(42))Não

hyperliquid_liquidations_hourly

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

ColumnTipoSort Key
moedaLowCardinality(String)Sim
hourDateTimeSim
liquidated_volumeSimpleAggregateFunction(sum, Decimal(38, 18))Não
liquidation_countSimpleAggregateFunction(sum, UInt64)Não
unique_liquidated_usersSimpleAggregateFunction(max, UInt64)Não

hyperliquid_market_volume_hourly

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

ColumnTipoSort Key
closeSimpleAggregateFunction(anyLast, Decimal(38, 18))Não
moedaLowCardinality(String)Sim
highSimpleAggregateFunction(max, Decimal(38, 18))Não
hourDateTime('UTC')Sim
lowSimpleAggregateFunction(min, Decimal(38, 18))Não
abrirSimpleAggregateFunction(any, Decimal(38, 18))Não
trade_countSimpleAggregateFunction(sum, UInt64)Não
volumeSimpleAggregateFunction(sum, Decimal(38, 18))Não

hyperliquid_metrics_dex_overview

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

ColumnTipoSort Key
moedaLowCardinality(String)Sim
dayDateSim
taxasSimpleAggregateFunction(sum, Decimal(38, 18))Não
fill_countSimpleAggregateFunction(sum, UInt64)Não
high_priceSimpleAggregateFunction(max, Decimal(38, 18))Não
liquidationsSimpleAggregateFunction(sum, UInt64)Não
low_priceSimpleAggregateFunction(min, Decimal(38, 18))Não
unique_tradersSimpleAggregateFunction(max, UInt64)Não
volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))Não

hyperliquid_metrics_overview

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

ColumnTipoSort Key
active_tradersSimpleAggregateFunction(max, UInt64)Não
builder_fill_countSimpleAggregateFunction(sum, UInt64)Não
coins_tradedSimpleAggregateFunction(max, UInt64)Não
dayDateSim
liquidation_countSimpleAggregateFunction(sum, UInt64)Não
liquidation_volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))Não
total_builder_feesSimpleAggregateFunction(sum, Decimal(38, 18))Não
total_feesSimpleAggregateFunction(sum, Decimal(38, 18))Não
total_fillsSimpleAggregateFunction(sum, UInt64)Não
total_volume_usdSimpleAggregateFunction(sum, Decimal(38, 18))Não

hyperliquid_oracle_prices

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

ColumnTipoSort Key
asset_idxUInt16Sim
block_numberUInt64Sim
clearinghouseUInt8Sim
moedaLowCardinality(String)Não
daily_pxStringNão
indexed_atDateTime64(3, 'UTC')Não
mark_pxStringNão
snapshot_timeDateTime64(6, 'UTC')Não

hyperliquid_order_book_diffs

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
moedaLowCardinality(String)Sim
diff_typeLowCardinality(String)Não
indexed_atDateTime64(3, 'UTC')Não
new_sizeNullable(Decimal(38, 18))Não
oidUInt64Sim
orig_sizeNullable(Decimal(38, 18))Não
preçoDecimal(38, 18)Não
ladoEnum8('B' = 1, 'A' = 2)Sim
tamanhoNullable(Decimal(38, 18))Não
userFixedString(42)Não

hyperliquid_orders

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
builderNullable(String)Não
childrenNullable(String)Não
cloidNullable(String)Não
moedaLowCardinality(String)Não
hashNullable(FixedString(66))Não
indexed_atDateTime64(3, 'UTC')Não
is_position_tpslUInt8Não
is_triggerUInt8Não
limit_priceDecimal(38, 18)Não
oidUInt64Sim
order_timestampDateTime64(3, 'UTC')Não
order_typeLowCardinality(String)Não
orig_sizeDecimal(38, 18)Não
reduce_onlyUInt8Não
ladoEnum8('B' = 1, 'A' = 2)Não
tamanhoDecimal(38, 18)Não
statusLowCardinality(String)Não
status_timeDateTime64(6, 'UTC')Sim
tifLowCardinality(String)Não
trigger_conditionNullable(String)Não
trigger_priceNullable(Decimal(38, 18))Não
unique_idStringNão
userFixedString(42)Não

hyperliquid_outcome_markets

Sort Keys: ⚡ none | Partition: none

ColumnTipoSort Key
base_token_idxNullable(UInt64)Não
block_numberUInt64Não
moedaNullable(String)Não
descriptionStringNão
expiryStringNão
fee_shareFloat64Não
first_enabled_as_quoteStringNão
indexed_atDateTime64(3, 'UTC')Não
is_liquid_baseUInt8Não
is_liquid_quoteUInt8Não
lockedUInt8Não
nomeLowCardinality(String)Não
ndoUInt64Não
nouUInt64Não
nquUInt64Não
outcome_classLowCardinality(String)Não
outcome_idUInt64Não
pair_nameStringNão
periodLowCardinality(String)Não
quote_rawNullable(UInt64)Não
quote_token_idxNullable(UInt64)Não
quote_token_nameNullable(String)Não
quote_token_statusLowCardinality(String)Não
quote_token_usdc_pxDecimal(38, 18)Não
quote_token_usdc_px_rawUInt64Não
raw_side_jsonStringNão
raw_spec_jsonStringNão
side_countUInt16Não
side_indexUInt8Não
side_nameLowCardinality(String)Não
snapshot_timeDateTime64(6, 'UTC')Não
spot_deploy_timeStringNão
spot_indexNullable(UInt64)Não
spot_resolutionLowCardinality(String)Não
target_priceStringNão
token_idxNullable(UInt64)Não
token_nameNullable(String)Não
underlyingLowCardinality(String)Não

hyperliquid_outcome_meta

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

ColumnTipoSort Key
block_numberUInt64Sim
deploy_gas_auction_jsonStringNão
descriptionStringNão
expiryStringNão
fee_shareFloat64Não
indexed_atDateTime64(3, 'UTC')Não
lockedUInt8Não
nomeLowCardinality(String)Não
ndoUInt64Não
nouUInt64Não
nquUInt64Não
outcome_classLowCardinality(String)Não
outcome_idUInt64Sim
periodLowCardinality(String)Não
quote_rawNullable(UInt64)Não
raw_spec_jsonStringNão
side_countUInt16Não
snapshot_timeDateTime64(6, 'UTC')Não
target_priceStringNão
underlyingLowCardinality(String)Não

hyperliquid_outcome_question_members

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

ColumnTipoSort Key
block_numberUInt64Sim
indexed_atDateTime64(3, 'UTC')Não
is_fallbackUInt8Não
is_settledUInt8Não
outcome_idUInt64Sim
question_idUInt64Sim
snapshot_timeDateTime64(6, 'UTC')Não
sourceLowCardinality(String)Não

hyperliquid_outcome_questions

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

ColumnTipoSort Key
block_numberUInt64Sim
descriptionStringNão
fallback_outcomeNullable(UInt64)Não
indexed_atDateTime64(3, 'UTC')Não
nomeStringNão
named_outcomes_jsonStringNão
question_idUInt64Sim
raw_question_jsonStringNão
settled_named_outcomes_jsonStringNão
snapshot_timeDateTime64(6, 'UTC')Não

hyperliquid_outcome_sides

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

ColumnTipoSort Key
base_token_idxNullable(UInt64)Não
block_numberUInt64Sim
moedaNullable(String)Não
indexed_atDateTime64(3, 'UTC')Não
outcome_idUInt64Sim
quote_token_idxNullable(UInt64)Não
quote_token_nameNullable(String)Não
raw_side_jsonStringNão
side_indexUInt8Sim
side_m_rawStringNão
side_m_valueNullable(Int64)Não
side_nameLowCardinality(String)Não
snapshot_timeDateTime64(6, 'UTC')Não
spot_indexNullable(UInt64)Não
spot_indices_jsonStringNão
spot_resolutionLowCardinality(String)Não
token_idxNullable(UInt64)Não
token_nameNullable(String)Não

hyperliquid_perpetual_market_contexts

Sort Keys: ⚡ none | Partition: none

ColumnTipoSort Key
moedaLowCardinality(String)Não
day_base_vlmDecimal(38, 18)Não
day_ntl_vlmDecimal(38, 18)Não
fundingDecimal(38, 18)Não
impact_askNullable(Decimal(38, 18))Não
impact_bidNullable(Decimal(38, 18))Não
mark_pxDecimal(38, 18)Não
mid_pxDecimal(38, 18)Não
open_interestDecimal(38, 18)Não
oracle_pxDecimal(38, 18)Não
polled_atDateTime64(6, 'UTC')Não
premiumDecimal(38, 18)Não
prev_day_pxDecimal(38, 18)Não

hyperliquid_perpetual_markets

Sort Keys: ⚡ coin | Partition: none

ColumnTipoSort Key
moedaLowCardinality(String)Sim
indexed_atDateTime64(3, 'UTC')Não
margin_table_idNullable(UInt16)Não
market_indexUInt16Não
max_leverageUInt16Não
only_isolatedUInt8Não
sz_decimalsUInt8Não

hyperliquid_perpetual_positions

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

ColumnTipoSort Key
asset_idxUInt16Sim
block_numberUInt64Sim
clearinghouseUInt8Sim
moedaStringNão
entry_notionalUInt64Não
funding_alltimeInt64Não
funding_since_changeInt64Não
funding_since_openInt64Não
indexed_atDateTime64(3, 'UTC')Não
marginUInt64Não
tamanhoInt64Não
snapshot_timeDateTime64(6, 'UTC')Não
usdc_balanceInt64Não
userStringSim

hyperliquid_quote_token_meta

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

ColumnTipoSort Key
aligned_quote_info_jsonStringNão
block_numberUInt64Sim
first_enabled_as_quoteStringNão
indexed_atDateTime64(3, 'UTC')Não
is_liquid_baseUInt8Não
is_liquid_quoteUInt8Não
snapshot_timeDateTime64(6, 'UTC')Não
statusLowCardinality(String)Não
token_idxUInt64Sim
token_nameLowCardinality(String)Não

hyperliquid_register_referral

Sort Keys: ⚡ referral_code, user | Partition: none

ColumnTipoSort Key
block_timeDateTime64(6, 'UTC')Não
erroNullable(String)Não
indexed_atDateTime64(3, 'UTC')Não
is_successUInt8Não
referral_codeStringSim
roundUInt64Não
tx_hashStringNão
userStringSim

hyperliquid_set_referrer

Sort Keys: ⚡ referral_code, user | Partition: none

ColumnTipoSort Key
block_timeDateTime64(6, 'UTC')Não
erroNullable(String)Não
indexed_atDateTime64(3, 'UTC')Não
is_successUInt8Não
referral_codeStringSim
roundUInt64Não
tx_hashStringNão
userStringSim

hyperliquid_spot_balances

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

ColumnTipoSort Key
block_numberUInt64Sim
escrowedInt64Não
indexed_atDateTime64(3, 'UTC')Não
snapshot_timeDateTime64(6, 'UTC')Não
fichaStringNão
token_idxUInt16Sim
totalInt64Não
userStringSim

hyperliquid_spot_clearinghouse_states

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

ColumnTipoSort Key
block_numberUInt64Sim
escrowedInt64Não
indexed_atDateTime64(3, 'UTC')Não
snapshot_timeDateTime64(6, 'UTC')Não
fichaLowCardinality(String)Não
token_idxUInt16Sim
totalInt64Não
userFixedString(42)Sim

hyperliquid_spot_markets

Sort Keys: ⚡ token_index | Partition: none

ColumnTipoSort Key
deployer_trading_fee_shareNullable(String)Não
evm_contractNullable(String)Não
full_nameNullable(String)Não
indexed_atDateTime64(3, 'UTC')Não
is_canonicalUInt8Não
pair_indexNullable(UInt16)Não
pair_nameNullable(String)Não
sz_decimalsUInt8Não
fichaLowCardinality(String)Não
token_idStringNão
token_indexUInt16Sim
wei_decimalsUInt8Não

hyperliquid_spot_pairs

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

ColumnTipoSort Key
base_token_idxUInt64Não
base_token_nameLowCardinality(String)Não
block_numberUInt64Sim
deploy_timeStringNão
indexed_atDateTime64(3, 'UTC')Não
pair_nameStringNão
quote_token_idxUInt64Não
quote_token_nameLowCardinality(String)Não
raw_spot_info_jsonStringNão
snapshot_timeDateTime64(6, 'UTC')Não
spot_indexUInt64Sim

hyperliquid_staking_events

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

ColumnTipoSort Key
quantiaDecimal(38, 18)Não
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
event_typeEnum8('CDeposit' = 1, 'CWithdrawal' = 2, 'Delegation' = 3)Não
hashFixedString(66)Sim
indexed_atDateTime64(3, 'UTC')Não
is_finalizedNullable(UInt8)Não
is_undelegateNullable(UInt8)Não
horaDateTime64(6, 'UTC')Não
userFixedString(42)Não
validatorNullable(FixedString(42))Não

hyperliquid_sub_accounts

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

ColumnTipoSort Key
block_numberUInt64Sim
indexed_atDateTime64(3, 'UTC')Não
master_accountFixedString(42)Não
nomeNullable(String)Não
snapshot_timeDateTime64(6, 'UTC')Não
sub_accountFixedString(42)Sim

hyperliquid_summaries

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

ColumnTipoSort Key
cross_maintenance_margin_usedDecimal(38, 18)Não
cross_margin_account_valueDecimal(38, 18)Não
cross_margin_total_margin_usedDecimal(38, 18)Não
cross_margin_total_natl_posDecimal(38, 18)Não
cross_margin_total_raw_usdDecimal(38, 18)Não
indexed_atDateTime64(3, 'UTC')Não
margin_account_valueDecimal(38, 18)Não
margin_total_margin_usedDecimal(38, 18)Não
margin_total_natl_posDecimal(38, 18)Não
margin_total_raw_usdDecimal(38, 18)Não
polled_atDateTime64(3, 'UTC')Sim
userStringSim
withdrawableDecimal(38, 18)Não

hyperliquid_system_actions

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

ColumnTipoSort Key
actionStringNão
action_typeLowCardinality(String)Não
agent_addressNullable(FixedString(42))Não
agent_nameNullable(String)Não
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
destinationNullable(FixedString(42))Não
destination_dex_or_spotNullable(UInt8)Não
evm_tx_hashFixedString(66)Sim
from_sub_accountNullable(UInt8)Não
hyperliquid_chainNullable(String)Não
indexed_atDateTime64(3, 'UTC')Não
is_mintNullable(UInt8)Não
is_undelegateNullable(UInt8)Não
nonceUInt64Sim
ntlNullable(Decimal(38, 18))Não
order_groupingNullable(String)Não
signature_chain_idNullable(String)Não
source_dex_or_spotNullable(UInt8)Não
to_perpNullable(UInt8)Não
fichaNullable(UInt16)Não
userFixedString(42)Não
validatorNullable(FixedString(42))Não
weiNullable(UInt256)Não

hyperliquid_token_usdc_prices

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

ColumnTipoSort Key
approx_usdc_pxDecimal(38, 18)Não
approx_usdc_px_float_1e6Float64Não
approx_usdc_px_rawUInt64Não
block_numberUInt64Sim
indexed_atDateTime64(3, 'UTC')Não
raw_pair_jsonStringNão
snapshot_timeDateTime64(6, 'UTC')Não
token_idxUInt64Sim
token_nameLowCardinality(String)Não

hyperliquid_trades

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
buyer_addressFixedString(42)Não
buyer_builder_addressNullable(FixedString(42))Não
buyer_builder_feeNullable(Decimal(38, 18))Não
buyer_closed_pnlDecimal(38, 18)Não
buyer_crossedUInt8Não
buyer_deployer_feeNullable(Decimal(38, 18))Não
buyer_dirLowCardinality(String)Não
buyer_feeDecimal(38, 18)Não
buyer_order_idUInt64Não
buyer_priority_gasNullable(Decimal(38, 18))Não
buyer_start_positionDecimal(38, 18)Não
buyer_twap_idNullable(UInt64)Não
moedaLowCardinality(String)Não
fee_tokenLowCardinality(String)Não
indexed_atDateTime64(3, 'UTC')Não
liquidated_userNullable(FixedString(42))Não
liquidation_mark_priceNullable(Decimal(38, 18))Não
liquidation_methodNullable(String)Não
preçoDecimal(38, 18)Não
seller_addressFixedString(42)Não
seller_builder_addressNullable(FixedString(42))Não
seller_builder_feeNullable(Decimal(38, 18))Não
seller_closed_pnlDecimal(38, 18)Não
seller_crossedUInt8Não
seller_deployer_feeNullable(Decimal(38, 18))Não
seller_dirLowCardinality(String)Não
seller_feeDecimal(38, 18)Não
seller_order_idUInt64Não
seller_priority_gasNullable(Decimal(38, 18))Não
seller_start_positionDecimal(38, 18)Não
seller_twap_idNullable(UInt64)Não
ladoEnum8('B' = 1, 'A' = 2)Não
tamanhoDecimal(38, 18)Não
marca temporalDateTime64(3, 'UTC')Não
total_builder_feeNullable(Decimal(38, 18))Não
trade_idUInt64Sim
transaction_hashFixedString(66)Não
unique_idStringNão

hyperliquid_transactions

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

ColumnTipoSort Key
actionJSONNão
action_typeLowCardinality(String)Não
block_timeDateTime64(6, 'UTC')Não
erroNullable(String)Não
indexed_atDateTime64(3, 'UTC')Não
is_successUInt8Não
nonceUInt64Sim
proposerNullable(String)Não
roundUInt64Sim
tx_hashStringSim
userNullable(String)Não
vault_addressNullable(String)Não

hyperliquid_twap_statuses

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
moedaLowCardinality(String)Não
executed_ntlDecimal(38, 18)Não
executed_sizeDecimal(38, 18)Não
indexed_atDateTime64(3, 'UTC')Não
minutesUInt16Não
randomizeUInt8Não
reduce_onlyUInt8Não
ladoEnum8('B' = 1, 'A' = 2)Não
tamanhoDecimal(38, 18)Não
statusLowCardinality(String)Não
horaDateTime64(6, 'UTC')Sim
marca temporalDateTime64(3, 'UTC')Não
twap_idUInt64Sim
userFixedString(42)Não

hyperliquid_validator_rewards

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

ColumnTipoSort Key
block_numberUInt64Sim
block_timeDateTime64(6, 'UTC')Não
hashFixedString(66)Não
indexed_atDateTime64(3, 'UTC')Não
rewardDecimal(38, 18)Não
horaDateTime64(6, 'UTC')Sim
validatorFixedString(42)Sim

hyperliquid_vault_equities

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

ColumnTipoSort Key
block_numberUInt64Sim
depositorFixedString(42)Sim
indexed_atDateTime64(3, 'UTC')Não
leaderFixedString(42)Não
leader_commissionFloat64Não
net_depositsInt64Não
ownership_fractionFloat64Não
snapshot_timeDateTime64(6, 'UTC')Não
vault_addressFixedString(42)Sim
vault_nameStringNão

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]