Overview
BlockDB ships a Postgres schema for every dataset that also powers the Historic REST API. The scripts in/BlockDb.Postgres.Tables.Public are the canonical definitions; each dataset here mirrors the SQL CREATE TABLE statements, constraints, and indexes from that source.
All tables follow a <schema>.<dataset_id>_<name>_v<major> naming convention to support multiple chain families at scale:
- EVM datasets live in
blockdb_evm(for example,blockdb_evm.0101_blocks_v1) - SVM datasets live in
blockdb_svm(for example,blockdb_svm.0101_blocks_v1)
0101 for blocks, 0201 for ERC-20 tokens, etc.) so you can map SQL exports to API payloads or lineage metadata.
How to use this catalog
- Choose your chain family (EVM or SVM).
- Open the chain overview to browse datasets and review per-table documentation.
- Use dataset IDs to map between SQL tables, API payloads, and lineage records.