<p>Transactions have to spend all their inputs immediately. Essentially, any transaction splits the inputs to (at least) two destinations: the transaction's intended recipient and yourself (change).</p>

<p>Say you have an input with 1BTC and want to spend 0.5BTC:</p>

<pre><code>                         ------- 0.5BTC (recipient)
1BTC  ---transaction----|
                         ------- 0.5BTC (change to yourself)
</code></pre>

<p>Any portions of the input that you don't designate to a destination become part of the transaction fee which will be claimed by the miner. </p>

CC BY-SA 3.0
2015-11-24T18:43:09.620Z
2015-11-25T17:14:31.640Z
2015-11-25T17:14:31.640Z
Murch
<p>There is no change transaction type. </p>

<p>Transactions are defined as a list of inputs consumed, and outputs created, and the values assigned to those new outputs. The creator typically makes an output for a entity they wish to pay, and another output which pays excess change back to them. </p>

<p>Any amount of Bitcoin left un-used by the outputs is interpreted as the fee for the transaction. </p>

CC BY-SA 3.0
2015-11-23T07:44:13.390Z
2015-11-23T07:44:13.390Z
Claris
<p>If not, how is the change transaction processed?</p>

<transactions><change>
When a block that has a transaction with change in it is successfully mined, is the change transaction included in the newly mined block?
davidhwang
# When a block that has a transaction with change in it is successfully mined, is the change transaction included in the newly mined block?

(Asked by: username_0 on 2015-11-23)

If not, how is the change transaction processed?

**Tags:** transactions, change


---

## 2 answers

### Answer by username_2 on 2015-11-23. Score: 4 | Accepted answer

There is no change transaction type.

Transactions are defined as a list of inputs consumed, and outputs created, and the values assigned to those new outputs. The creator typically makes an output for a entity they wish to pay, and another output which pays excess change back to them.

Any amount of Bitcoin left un-used by the outputs is interpreted as the fee for the transaction.


---

### Answer by username_1 on 2015-11-24. Score: 1

Transactions have to spend all their inputs immediately. Essentially, any transaction splits the inputs to (at least) two destinations: the transaction's intended recipient and yourself (change).

Say you have an input with 1BTC and want to spend 0.5BTC:

```
                         ------- 0.5BTC (recipient)
1BTC  ---transaction----|
                         ------- 0.5BTC (change to yourself)

```

Any portions of the input that you don't designate to a destination become part of the transaction fee which will be claimed by the miner.


---

