> ## 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.

# Blocks

> Midnight blockchain blocks data

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

This table contains block-level data for the Midnight blockchain, including height, hash, parent hash, author, and protocol version.

## Column Descriptions

| Column Name | Data Type | Description |
| - | - | - |
| **id** | bigint | Internal block identifier. |
| **hash** | varchar | Hash uniquely identifying the block. |
| **height** | bigint | Block height (sequential number) in the chain. |
| **protocol\_version** | bigint | Protocol version active for this block. |
| **parent\_hash** | varchar | Hash of the parent block. |
| **author** | varchar | Block author / producer identifier. |
| **block\_time** | timestamp | Timestamp when the block was produced. |
| **\_updated\_at** | timestamp | Timestamp when this record was last updated. |
| **\_ingested\_at** | timestamp | Timestamp when this record was ingested into Dune. |

## Table Sample

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.