Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.allium.so/llms.txt

Use this file to discover all available pages before exploring further.

The hyperliquid.raw.outcome_metadata table contains snapshots of Hyperliquid HIP-4 outcomes — the tradable units in HIP-4 prediction markets. Each row is a snapshot of one outcome at a given timestamp.
An outcome may be standalone (Recurring price-binary markets, where the description encodes class / underlying / expiry / target price / period) or grouped under a question via question_metadata.named_outcomes. Each outcome has exactly two binary token sides; trades happen on the individual side-tokens published by the HL API.

Table Columns

Column NameDescription
timestampUTC timestamp of the snapshot.
outcomeThe outcome ID (numeric). Each outcome is a binary tradable unit on HIP-4.
nameOutcome name. 'Recurring' for standalone price-binary outcomes; a specific name (e.g. ‘Akami’, ‘Hypurr’) when grouped under a question.
descriptionOutcome description. For Recurring outcomes, a pipe-separated key:value string, e.g. `class:priceBinaryunderlying:HYPEexpiry:20260428-1430targetPrice:37.86period:15m`.
side_specs2-element VARIANT array describing each token side in order, e.g. [{"name":"Yes"},{"name":"No"}]. The element at index token_side defines that side’s label.
_created_atRow creation timestamp.
_updated_atRow last update timestamp.

Sample Query

SELECT
  timestamp,
  outcome,
  name,
  description,
  side_specs
FROM hyperliquid.raw.outcome_metadata
WHERE TO_DATE(timestamp) >= CURRENT_DATE - 7
ORDER BY timestamp DESC, outcome
LIMIT 100