# Assessment 3

#### Let's apply what you have learned so far to a specific scenario. Choose the most correct response (choose ALL that apply).

You are a blockchain developer tasked with verifying a transaction for a client who is concerned about its legitimacy. The client wants to ensure that the transaction is part of the longest proof-of-work chain without downloading the entire blockchain. What steps do you take to verify the transaction?

* [x] Query network nodes to obtain the longest chain and retrieve the Merkle branch for the specific transaction.
* [x] Use the Merkle root and the relevant nodes along the path to confirm the transaction's inclusion in the blockchain.
* [ ] Download the entire blockchain to verify the transaction.
* [ ] Ask the client to provide their own copy of the blockchain for verification.

**Notes to Learners**

To verify a transaction efficiently, you should query network nodes to obtain the longest proof-of-work chain, which allows you to ensure that you are working with the most accurate and up-to-date information. By retrieving the Merkle branch associated with the specific transaction, you can use the Merkle root and the nodes along the path to confirm that the transaction is indeed part of the blockchain. This method avoids the need to download the entire blockchain, making the process more efficient and practical.


---

# 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-whitepaper-series/section-8-simplified-payment-verification-bitcoin-whitepaper/assessment-3.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.
