> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ton.blocks

> TON block data — workchain, shard, seqno, and global block identifiers.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

## Table Description

The `ton.blocks` table contains block-level data from the TON blockchain including block header information, validators, and block statistics. This table is partitioned by block\_date.

## Column Descriptions

| **Column**                       | **Type**  | **Description**                                   |
| -------------------------------- | --------- | ------------------------------------------------- |
| **block\_time**                  | timestamp | Timestamp of when the block was created           |
| **block\_date**                  | date      | Date of when the block was created                |
| **workchain**                    | int       | Workchain identifier                              |
| **shard**                        | bigint    | Shard identifier                                  |
| **seqno**                        | int       | Sequence number                                   |
| **root\_hash**                   | string    | Hash of the block root                            |
| **file\_hash**                   | string    | Hash of the block file                            |
| **mc\_block\_workchain**         | int       | Masterchain block workchain identifier            |
| **mc\_block\_shard**             | bigint    | Masterchain block shard identifier                |
| **mc\_block\_seqno**             | int       | Masterchain block sequence number                 |
| **global\_id**                   | int       | Global identifier                                 |
| **version**                      | int       | Block version                                     |
| **after\_merge**                 | boolean   | Flag indicating if block was created after merge  |
| **before\_split**                | boolean   | Flag indicating if block was created before split |
| **after\_split**                 | boolean   | Flag indicating if block was created after split  |
| **want\_merge**                  | boolean   | Flag indicating if block wants to merge           |
| **want\_split**                  | boolean   | Flag indicating if block wants to split           |
| **key\_block**                   | boolean   | Flag indicating if this is a key block            |
| **vert\_seqno\_incr**            | boolean   | Vertical sequence number increment flag           |
| **flags**                        | int       | Block flags                                       |
| **gen\_utime**                   | bigint    | Generation unix time                              |
| **start\_lt**                    | bigint    | Start logical time                                |
| **end\_lt**                      | bigint    | End logical time                                  |
| **validator\_list\_hash\_short** | int       | Short hash of validator list                      |
| **gen\_catchain\_seqno**         | int       | Generation catchain sequence number               |
| **min\_ref\_mc\_seqno**          | int       | Minimum reference masterchain sequence number     |
| **prev\_key\_block\_seqno**      | int       | Previous key block sequence number                |
| **vert\_seqno**                  | int       | Vertical sequence number                          |
| **master\_ref\_seqno**           | int       | Master reference sequence number                  |
| **rand\_seed**                   | string    | Random seed                                       |
| **created\_by**                  | string    | Creator of the block                              |
| **tx\_count**                    | int       | Number of transactions in the block               |
| **updated\_at**                  | timestamp | Last time the record was updated                  |
| **ingested\_at**                 | timestamp | Time when the record was ingested                 |

## Table Sample

<TableSample tableSchema="ton" tableName="blocks" />
