# Inputs and Outputs

<figure><img src="/files/s3tNPuW9NVSVgBz7gXtY" 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: 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-9-combining-and-splitting-value-bitcoin-whitepaper/inputs-and-outputs.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.
