<blockquote>
<p>If I want to send 0.5 bitcoin to another address, will it work having only one input with one prev_out value</p>
</blockquote>
<p>No, it will not work with just 1 input.</p>
<blockquote>
<p>If that will not work, how do I need to make the transaction such that it will work?</p>
</blockquote>
<p>You will need to create a transaction that uses 5 inputs of 0.1 to create a total of 0.5 bitcoin.</p>

CC BY-SA 4.0
2022-03-07T20:23:36.563Z
Ah, ok. I assume each input needs a different prev_out tx?
Matthias Lee
CC BY-SA 4.0
2022-03-07T21:08:12.147Z
yes, every input needs: previous transaction ID, v_out (output position from previous transaction), and value. The previous transaction will likely be different but it doesn't have to be different either, for example the outputs could have been all created in the same previous transaction, and in that case only your v_outs would be different.
m1xolyd1an
CC BY-SA 4.0
2022-03-07T18:53:39.643Z
2022-03-07T18:53:39.643Z
m1xolyd1an
<p>Let's say I have a wallet that in total received 1 bitcoin over 10 transactions of 0.1 bitcoin each. If I want to send 0.5 bitcoin to another address, will it work having only one input with one prev_out value, even though the TX referenced there only had a value of 0.1 btc? If that will not work, how do I need to make the transaction such that it will work?</p>

<transactions><input>
Can the value in a prev_out be less than the amount of bitcoin to send?
Matthias Lee
# Can the value in a prev_out be less than the amount of bitcoin to send?

(Asked by: username_0 on 2022-03-07)

Let's say I have a wallet that in total received 1 bitcoin over 10 transactions of 0.1 bitcoin each. If I want to send 0.5 bitcoin to another address, will it work having only one input with one prev\_out value, even though the TX referenced there only had a value of 0.1 btc? If that will not work, how do I need to make the transaction such that it will work?

**Tags:** transactions, input


---

## 1 answers

### Answer by username_1 on 2022-03-07. Score: 2 | Accepted answer

> If I want to send 0.5 bitcoin to another address, will it work having only one input with one prev\_out value

No, it will not work with just 1 input.

> If that will not work, how do I need to make the transaction such that it will work?

You will need to create a transaction that uses 5 inputs of 0.1 to create a total of 0.5 bitcoin.

> **Comments:**
> **username_0**: Ah, ok. I assume each input needs a different prev_out tx?  
> **username_1**: yes, every input needs: previous transaction ID, v_out (output position from previous transaction), and value. The previous transaction will likely be different but it doesn't have to be different either, for example the outputs could have been all created in the same previous transaction, and in that case only your v_outs would be different.  

---

