> For the complete documentation index, see [llms.txt](https://docs.bsvblockchain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bsvblockchain.org/important-concepts/details/spv/data-models.md).

# Data Models

There are two main data models used in SPV transactions. Firstly, the Merkle paths of transactions are contained

{% embed url="<https://bsv.brc.dev/transactions/0074>" %}
The Compound Merkle Path Format
{% endembed %}

<div data-full-width="true"><figure><picture><source srcset="/files/d3czoeBDihS85VWhTtc0" media="(prefers-color-scheme: dark)"><img src="/files/6gLZiDWMlhHJAxqiH7aX" alt=""></picture><figcaption><p>BUMP format demo</p></figcaption></figure></div>

Secondly a list of BUMPs and transactions are serialized:

{% embed url="<https://bsv.brc.dev/transactions/0062>" %}
The encoding format for SPV Transactions
{% endembed %}

These formats are baked in to the ecosystem's core libraries such that they are easy to deal with across many applications.

{% embed url="<https://github.com/bitcoin-sv/ts-sdk>" %}
TypeScript SDK
{% endembed %}

{% embed url="<https://github.com/bitcoin-sv/go-sdk>" %}
Golang SDK
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bsvblockchain.org/important-concepts/details/spv/data-models.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
