blocks, extrinsics and events, in one dataset per chain.
The Tables section below says what each table holds and lists the columns once for the whole family.
Chains
| Chain | chain_id | blocks | events | extrinsics |
|---|---|---|---|---|
| Astar | astar | ✓ | ✓ | ✓ |
| Chainflip | chainflip | ✓ | ✓ | ✓ |
| Energy Web | energyweb | ✓ | ✓ | ✓ |
| Hydration | hydradx | ✓ | ✓ | ✓ |
| Kusama | kusama | ✓ | ✓ | ✓ |
| Litentry | litentry | ✓ | ✓ | ✓ |
| peaq | peaq | ✓ | ✓ | ✓ |
| Polkadot | polkadot | ✓ | ✓ | ✓ |
| Polkadot Asset Hub | polkadotassethub | ✓ | ✓ | ✓ |
| Polkadot Bridge Hub | polkadotbridgehub | ✓ | ✓ | ✓ |
| Polkadot Collectives | polkadotcollectives | ✓ | ✓ | ✓ |
| Polkadot Coretime | polkadotcoretime | ✓ | ✓ | ✓ |
| Polkadot People | polkadotpeople | ✓ | ✓ | ✓ |
Tables
Substrate is the framework Polkadot and its parachains are built with, and every chain built that way carries the same three core tables with the same columns. The schemas below are read frompolkadot, and apply to every chain listed on the Substrate overview.
Three words to know before the tables. An extrinsic is what these chains call a transaction: something submitted from outside the chain for it to act on. A pallet is one module of the chain’s own code, such as balances, staking or governance, and an extrinsic names the pallet and the method it wants. An event is a note the chain writes about what happened while running one.
extrinsics and events are split by day on block_timestamp, and blocks on timestamp. Filter on that column in every query: with a filter the query reads only the days you asked for, without one it reads the whole table.
- blocks
- extrinsics
- events
A block is a batch of extrinsics added to the chain.
blocks contains one row per block.| Column | Type | Description |
|---|---|---|
relay_chain | STRING | The main chain this one connects to, Polkadot or Kusama. |
chain | STRING | The chain name. |
timestamp | TIMESTAMP | The time the block was produced. Partition column. |
number | INT64 | The block number. |
block_hash | STRING | The hash of the block. |
parent_hash | STRING | The hash of the parent block. |
state_root | STRING | The root hash of the state trie. |
extrinsics_root | STRING | The root hash of the extrinsics trie. |
author_id | STRING | The account that authored the block. |
finalized | BOOL | Whether the block is finalized. |
block_date | TIMESTAMP | The block timestamp truncated to the day. |
extrinsics_count | INT64 | The number of extrinsics in the block. |
- Daily blocks and extrinsics
Count blocks and total extrinsics per day over one week.
Exceptions
One chain carries more than the three core tables. Polkadot addschain_ids, a small lookup table, and initialize_finalize_events, which holds the events the chain writes at the start and end of a block rather than while running an extrinsic. Every other chain has exactly the three core tables.