> For the complete documentation index, see [llms.txt](https://ellcrys.gitbook.io/ellcrys/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ellcrys.gitbook.io/ellcrys/object-references/block.md).

# Block

This page describes the structure of a block.

## Overview

A block is a container data structure that includes many transactions. It is backward linked to another block forming a chain of blocks.&#x20;

Transactions in a block alter the state of the entire chain of blocks. A block includes information proving that work was done in other to create the block. It also includes proof of that the transactions contained in it have not been altered. &#x20;

## Structure

| Field        | Type                                                                                                                               | Description                          |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| hash         | String                                                                                                                             | The cryptographic hash of the block. |
| header       | [Header](https://ellcrys.gitbook.io/ellcrys/~/edit/drafts/-LPGzTZQXM_D8Pctq4-D/v/master/object-references/header)                  | The block's header.                  |
| sig          | String                                                                                                                             | The block's signature.               |
| transactions | Array<[Transaction](https://ellcrys.gitbook.io/ellcrys/~/edit/drafts/-LPGzTZQXM_D8Pctq4-D/v/master/object-references/transaction)> | A list of transactions.              |

#### Example:

```javascript
{
  "hash": "0x67e62d1da7bf41a7e7667f9273eefe5255756d14e424a135ea543e4bbb40e659",
  "header": {
    "creatorPubKey": "48YQpehoRDYsivCbnedrz19DfTvh345PwWAKGN3jdUjPNdG3Lte",
    "difficulty": "0x989680",
    "extra": "0x",
    "nonce": "0x61879fb427b56cef",
    "number": "0x2",
    "parentHash": "0x211df3aed05b45d620850f40c9b4eac006da7ee0f76a7fa99d5ac16a2c2ca42c",
    "stateRoot": "0xc222870b2ca3f71d30b8d06b8e3f633812a8c0473cecc38b6fcc12eb5cad89ec",
    "timestamp": "0x5bda0ad4",
    "totalDifficulty": "0x1312d00",
    "transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "sig": "0x3e001b22d640331fbf324138b6182ab851e2989319c37ec33044b5495cd86e2160ca0ca2291e66a06ed329a21f1acc7c1c5fa67d96d0b87f6aaec4892cfcac05",
  "transactions": []
}
```
