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