> For the complete documentation index, see [llms.txt](https://hub.bsvblockchain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-whitepaper-series/section-9-combining-and-splitting-value-bitcoin-whitepaper/transaction-structure.md). Agents can also search and read this documentation through its [MCP server](https://hub.bsvblockchain.org/~gitbook/mcp).

# Transaction Structure

In Bitcoin, the **transaction structure** is pivotal for **facilitating the transfer of value between parties**. Unlike traditional currency systems where each coin or note is treated as an individual entity, Bitcoin transactions are designed to handle multiple inputs and outputs simultaneously. This design choice is essential for efficiency and practicality, as it **allows users to combine smaller amounts of Bitcoin into a single transaction or split larger amounts into smaller outputs**.

Typically, a Bitcoin transaction will consist of either a **single input** from a larger previous transaction or **multiple inputs** that aggregate smaller amounts and at most **two outputs:** one designated for the **payment** to the recipient and **another that returns any excess** amount back to the sender as change. (Note that this description of the usual, everyday transactions ('at most two outputs') does not preclude Bitcoin from **handling multiple (more than two) outputs**, which is a capability it's had from the start.)

This structure not only simplifies the transaction process but also enhances the user experience by minimizing the number of transactions required for various payment scenarios.

The diagram below illustrates a basic transaction structure:

&#x20;

<figure><img src="https://3421145409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRTEKu4E7Fvtss3GI9CYU%2Fuploads%2FQlZEqtXkFMyrChLdkZkX%2FTRANS.png?alt=media&amp;token=1f4d2312-43ba-4bbd-9f7c-af505964561b" alt=""><figcaption></figcaption></figure>

This approach **eliminates the need for users to manage each cent individually**, which would be cumbersome and inefficient. Instead, the system allows for a seamless transfer of value, ensuring that transactions can be processed quickly and effectively.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-whitepaper-series/section-9-combining-and-splitting-value-bitcoin-whitepaper/transaction-structure.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
