# Typical Transaction Example

In a typical Bitcoin transaction, the structure is straightforward yet effective. As noted in the Bitcoin Whitepaper, "Normally there will be either a single input from a larger previous transaction or multiple inputs combining smaller amounts, and at most two outputs: one for the payment, and one returning the change, if any, back to the sender."

#### Example Scenario

Consider a scenario where Alice wants to send 0.5 Bitcoin to Bob. If Alice has a single input of 1 Bitcoin from a previous transaction, she can create a transaction with the following structure:

* **Input**: 1 Bitcoin (from Alice's previous transaction)
* **Output 1**: 0.5 Bitcoin (to Bob)
* **Output 2**: 0.5 Bitcoin (change back to Alice)

In this case, **Alice's wallet automatically generates the second output** to return the excess amount back to her. Since Alice's wallet **does not have an exact amount of 0.5 Bitcoin available**, her wallet will **create the change output accordingly**, ensuring that the transaction remains valid and that she does not lose any funds in the process.


---

# 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/typical-transaction-example.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.
