<p>Transaction inputs need to reference the Unspent Transaction Output (UTXO) they are spending with the outpoint of that UTXO. The outpoint is the transaction id of the transaction that created the transaction output concatenated with a colon and the output position in that transaction: <code>txid:vout</code>.</p>

<p>Let's say you were sent 1 BTC by P1 to address x1 in transaction <code>uiaex</code> and it was the second output (<code>vout = 1</code> because we start counting at 0), the corresponding outpoint would be <code>uiaex:1</code>.</p>

<p>The UTXO reference therefore is independent of the address that the funds were sent to previously.</p>

<p>The transaction size is therefore the same whether you received all outputs to the same address or different addresses. There are no savings in transaction size by receiving funds to the same address multiple times.</p>

CC BY-SA 3.0
2018-03-23T17:57:28.473Z
2018-03-23T17:57:28.473Z
Murch
<p>There are three inputs to the transaction in both scenario A and scenario B.</p>

<p>Your scenarios, with a little more details:</p>

<p><strong>Scenario A</strong></p>

<p>P1 makes transaction t1, and sends 1 btc to address x1 in transaction output 0</p>

<p>P2 makes transaction t2, and sends 1 btc to address x1 in transaction output 0</p>

<p>P3 makes transaction t3, and sends 1 btc to address x1 in transaction output 0</p>

<p><strong>Scenario B</strong></p>

<p>P1 makes transaction t1, and sends 1 btc to address x1 in transaction output 0</p>

<p>P2 makes transaction t2, and sends 1 btc to address x2 in transaction output 0</p>

<p>P3 makes transaction t3, and sends 1 btc to address x3 in transaction output 0</p>

<p><strong>Transactions</strong></p>

<p>With scenario A, sending 3 btc to P4 translates to the following transaction: merge t1-output0, t2-output0, t3-output0 together, and send 3 btc to P4's address. There are no transaction fees.</p>

<p>With scenario B, it is the same transaction-wise: merge t1-output0, t2-output0, t3-output0 together, and send 3 btc to P4's address. There are no transaction fees.</p>

CC BY-SA 3.0
2017-12-15T05:38:08.230Z
Thanks for your reply bro, you mean both scenario also no network fee? This 3 inputs will not increase the next payment transaction size? I saw many article mentioned inputs+outputs+10 = best fee to pay..
Wei Keat
CC BY-SA 3.0
2018-02-21T00:59:07.380Z
"There are no transaction fees" is misleading.  It's true that you have described transactions that don't *include* any fees.  If you try to actually make such transactions, they will most likely not be confirmed.  If you want them to be confirmed, you will *need* to include fees, which means that you will not be able to send a full 3 BTC to P4, but rather slightly less.  However, the amount of fees needed will be the same in either case, since both transactions would be the same number of bytes.
Nate Eldredge
CC BY-SA 3.0
2017-12-15T03:26:13.783Z
2017-12-15T03:26:13.783Z
brooou
<p>I'm quite confused about the input count that affect the transaction size, example:</p>

<pre><code>x1 = my receive btc address

x2 = my another receive btc address

x3 = my another receive btc address
</code></pre>

<p><strong>Scenario A</strong></p>

<p>P1 send 1 btc to address x1</p>

<p>P2 send 1 btc to address x1</p>

<p>P3 send 1 btc to address x1</p>

<p><strong>Scenario B</strong></p>

<p>P1 send 1 btc to address x1</p>

<p>P2 send 1 btc to address x2</p>

<p>P3 send 1 btc to address x3</p>

<p>So my wallet will have total balance 3 btc.</p>

<p>My question is when I try to send 3 btc to P4 (Another user), scenario A will count as 3 inputs or scenario B will count as 3 inputs or both is same 3 inputs?</p>

<utxo><transaction-input>
Does using different addresses affect subsequent transaction size, given the same number of inputs?
Wei Keat
# Does using different addresses affect subsequent transaction size, given the same number of inputs?

(Asked by: username_0 on 2017-12-15)

I'm quite confused about the input count that affect the transaction size, example:

```
x1 = my receive btc address

x2 = my another receive btc address

x3 = my another receive btc address

```

**Scenario A**

P1 send 1 btc to address x1

P2 send 1 btc to address x1

P3 send 1 btc to address x1

**Scenario B**

P1 send 1 btc to address x1

P2 send 1 btc to address x2

P3 send 1 btc to address x3

So my wallet will have total balance 3 btc.

My question is when I try to send 3 btc to P4 (Another user), scenario A will count as 3 inputs or scenario B will count as 3 inputs or both is same 3 inputs?

**Tags:** utxo, transaction-input


---

## 2 answers

### Answer by username_1 on 2018-03-23. Score: 1

Transaction inputs need to reference the Unspent Transaction Output (UTXO) they are spending with the outpoint of that UTXO. The outpoint is the transaction id of the transaction that created the transaction output concatenated with a colon and the output position in that transaction: `txid:vout`.

Let's say you were sent 1 BTC by P1 to address x1 in transaction `uiaex` and it was the second output (`vout = 1` because we start counting at 0), the corresponding outpoint would be `uiaex:1`.

The UTXO reference therefore is independent of the address that the funds were sent to previously.

The transaction size is therefore the same whether you received all outputs to the same address or different addresses. There are no savings in transaction size by receiving funds to the same address multiple times.


---

### Answer by username_2 on 2017-12-15. Score: -1

There are three inputs to the transaction in both scenario A and scenario B.

Your scenarios, with a little more details:

**Scenario A**

P1 makes transaction t1, and sends 1 btc to address x1 in transaction output 0

P2 makes transaction t2, and sends 1 btc to address x1 in transaction output 0

P3 makes transaction t3, and sends 1 btc to address x1 in transaction output 0

**Scenario B**

P1 makes transaction t1, and sends 1 btc to address x1 in transaction output 0

P2 makes transaction t2, and sends 1 btc to address x2 in transaction output 0

P3 makes transaction t3, and sends 1 btc to address x3 in transaction output 0

**Transactions**

With scenario A, sending 3 btc to P4 translates to the following transaction: merge t1-output0, t2-output0, t3-output0 together, and send 3 btc to P4's address. There are no transaction fees.

With scenario B, it is the same transaction-wise: merge t1-output0, t2-output0, t3-output0 together, and send 3 btc to P4's address. There are no transaction fees.

> **Comments:**
> **username_0**: Thanks for your reply bro, you mean both scenario also no network fee? This 3 inputs will not increase the next payment transaction size? I saw many article mentioned inputs+outputs+10 = best fee to pay..  
> **username_3**: "There are no transaction fees" is misleading.  It's true that you have described transactions that don't *include* any fees.  If you try to actually make such transactions, they will most likely not be confirmed.  If you want them to be confirmed, you will *need* to include fees, which means that you will not be able to send a full 3 BTC to P4, but rather slightly less.  However, the amount of fees needed will be the same in either case, since both transactions would be the same number of bytes.  

---

