> 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/inputs-and-outputs.md). Agents can also search and read this documentation through its [MCP server](https://hub.bsvblockchain.org/~gitbook/mcp).

# Inputs and Outputs

<figure><img src="https://3421145409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRTEKu4E7Fvtss3GI9CYU%2Fuploads%2FQu4ieSGdjMhDS50G5hqD%2Finput.gif?alt=media&amp;token=d8cf9b18-312c-4bff-a03e-11063d75a3db" alt=""><figcaption></figcaption></figure>

To allow value to be split and combined,transactions contain multiple inputs and outputs.

\- Satoshi Nakamoto, Bitcoin Whitepaper

The **inputs and outputs** of a Bitcoin transaction are integral to its functionality, enabling the seamless transfer of value between parties. This capability is particularly beneficial for users who receive micropayments, as it allows them to consolidate these smaller amounts into a single, larger payment without inconveniencing the recipient.

#### Inputs

* **Single Input**: A transaction may utilize a single input from a larger previous transaction, simplifying the process for users who have received a substantial amount of Bitcoin.
* **Multiple Inputs**: Alternatively, users can combine several smaller inputs, which is especially useful for those whose wallets primarily consist of micropayments. This flexibility allows for efficient transactions without the need for multiple separate payments.

#### Outputs

On the output side, Bitcoin transactions **can accommodate one or multiple output scripts**, providing a versatile means for **users to distribute payments**.

For instance, a merchant receiving goods on consignment can facilitate a transaction where the **customer pays the manufacturer directly while also covering the merchant's cut, sales tax, and any applicable municipal surcharges**. This multi-output capability ensures that all parties involved in the transaction receive their payments instantaneously, thereby alleviating the merchant's burden of quarterly accounting.

#### Summary Table of Inputs and Outputs

| Type            | Description                                                           |
| --------------- | --------------------------------------------------------------------- |
| Single inputs   | Utilizes one larger previous transaction as input.                    |
| Multiple Inputs | Combines several smaller transactions into one for larger payments.   |
| Single Outputs  | Direct payment to one recipient.                                      |
| Mutiple Outputs | Payments distributed to multiple parties **in a single transaction.** |


---

# 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/inputs-and-outputs.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.
