# 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": []
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ellcrys.gitbook.io/ellcrys/object-references/block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
