<p>I'm in the midst of working this github --&gt; <a href="https://github.com/karask/python-bitcoin-utils/blob/master/examples/spend_p2sh_transaction.py" rel="nofollow noreferrer">https://github.com/karask/python-bitcoin-utils/blob/master/examples/spend_p2sh_transaction.py</a></p>
<p>Sorry as I'm not that good in this. I would like to ask the following:</p>
<ol>
<li>Where can I create this &quot;transaction input from tx id of UTXO&quot;?  This is for Bitcoin UTXO.</li>
</ol>
<p>I mean is it using bitcoin node? vscode? python in Gitpods? I just want to know where I can run this and able to provide me the TXID along with the Transaction value in it. Like for example snapshot below:</p>
<p><a href="https://i.sstatic.net/wkQWl.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/wkQWl.png" alt="enter image description here" /></a></p>
<p>Care to guide me? Please.. Thank you in advance.</p>

CC BY-SA 4.0
2021-01-17T20:09:33.870Z
You don't create it; you have it. It's the txid of the transaction that created the output you're trying to spend. Without it, you don't have any coins.
Pieter Wuille
<transactions><utxo><createrawtransaction>
How to create a transaction input from tx id of UTXO?
Jsim
# How to create a transaction input from tx id of UTXO?

(Asked by: username_0 on 2020-08-20)

I'm in the midst of working this github --> <https://github.com/karask/python-bitcoin-utils/blob/master/examples/spend_p2sh_transaction.py>

Sorry as I'm not that good in this. I would like to ask the following:

1. Where can I create this "transaction input from tx id of UTXO"? This is for Bitcoin UTXO.

I mean is it using bitcoin node? vscode? python in Gitpods? I just want to know where I can run this and able to provide me the TXID along with the Transaction value in it. Like for example snapshot below:

[![enter image description here](https://i.sstatic.net/wkQWl.png)](https://i.sstatic.net/wkQWl.png)

Care to guide me? Please.. Thank you in advance.

**Tags:** transactions, utxo, createrawtransaction

> **Comments:**
> **username_1**: You don't create it; you have it. It's the txid of the transaction that created the output you're trying to spend. Without it, you don't have any coins.  

---

## 0 answers

