# Assessment 5

#### Remembering the block has 10 transactions, how much data would be required to transmit the Merkle path for transaction #4 to calculate the Merkle root?

* [ ] 80
* [x] 128
* [ ] 10

**Notes to Learners**

### Merkle Tree Structure

With **10 transactions**, the Merkle tree looks like this:

```
Level 3:                    Merkle Root
                           /            \
Level 2:            Hash(0-7)          Hash(8-9)
                    /      \            /      \
Level 1:      Hash(0-3)  Hash(4-7)  Hash(8-9)  Hash(9-9)
              /    \      /    \      /    \
Level 0:   H(0-1) H(2-3) H(4-5) H(6-7) H(8-9) H(9-9)
           /  \   /  \   /  \   /  \
Leaves:  T0 T1 T2 T3 T4 T5 T6 T7 T8 T9
```

### Merkle Path for Transaction #4

To calculate the Merkle root from Transaction #4, we need:

1. **Hash of TX #5** (sibling at level 0)
2. **Hash(6-7)** (sibling at level 1)
3. **Hash(0-3)** (sibling at level 2)
4. **Hash(8-9)** (sibling at level 3)

That's **4 hashes** in the Merkle path.

### Data Required

Each hash in Bitcoin is a **SHA-256 hash = 32 bytes**

**Total data = 4 hashes × 32 bytes = ?**


---

# 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://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-primitives-merkle-trees/merkle-trees-and-the-block-header/assessment-5.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.
