Skip to main content

DatasetId Enumeration

Defines the canonical dataset identifiers used across Historic API and WebSocket payloads (e.g., the dataset / dataset_id field). Each identifier maps to a documented REST endpoint and Postgres table in blockdb_evm. Prefix indicates the functional domain:
  • 01xx โ€” base chain primitives (blocks, transactions, logs, internal traces, contracts, function results)
  • 02xx โ€” token and pool metadata (ERC-20/721/1155, pools, fee terms)
  • 03xx โ€” reserves, swap prints, swap fees, transfers, flash loans
  • 04xx โ€” token-to-token OHLC, per-pool VWAP time buckets, pool yields (0411)
  • 05xx โ€” cross-pool token-to-token VWAP (aggregated across venues)
  • 06xx โ€” token-to-fiat (USD) VWAP
  • 07xx โ€” pool TVL in USD
  • 08xx โ€” arbitrage path definitions (0801) and path status (0802; same DDL family as 0801)
  • 09xx โ€” arbitrage opportunities

Usage Notes

  • For a full tabular index (same IDs and tables), see Dataset index.
  • Responses that expose a dataset field use one of the identifiers above (or the full table name, e.g. blockdb_evm.b0201_erc20_tokens_v1).
  • New datasets follow the same prefix scheme; clients should tolerate unknown IDs to remain forward compatible.
  • Use this enumeration to drive UI labels and access control lists rather than hardcoding endpoint prefixes.
Last modified on May 29, 2026