<p>I need help here as it has been almost a week since I've been trying to figure this out. Fyi, I can get my Python Script running using &quot;Mainnet&quot; for Bitcoin Transaction that able to execute and produce the following results:
Tx ID:<code>8b547dd1e6393b4279afe6e083b3b563b929d09ab5bfdbf55c773c84af10b047</code></p>
<p><code>bc1qelvkpyjqc6j4smr5n4mscn86pphuv5nxugnvz9</code>  --&gt; P2WPKH Receiving Address</p>
<p>Raw transaction:</p>
<pre><code>0200000001ff67938803c97f765e89dfe81522a20569a38f60b911daa58f4e97ca0ed3d2130000000000ffffffff01a0bb0d00000000001976a914cfd9609240c6a5586c749d770c4cfa086fc6526688ac00000000
</code></pre>
<p>Raw signed transaction:</p>
<pre><code>02000000000101ff67938803c97f765e89dfe81522a20569a38f60b911daa58f4e97ca0ed3d2130000000000ffffffff01a0bb0d00000000001976a914cfd9609240c6a5586c749d770c4cfa086fc6526688ac02473044022023c2275892a7d85996a9578e9310122e63f9b4c89b25062a9bbc28ca2891524802206fc32e53a346fcfb41cf0193c5ddfcfad0f240593fdf95a3eda624ff4e25fe7f012102e365c048d44d323ef7ece0084b7ea403758c650a990092002375588c412377fe00000000
</code></pre>
<p>However, when I check the above Tax ID, is not in the Blockchain Explorer due to in my Python Script (that's where I've run this it does not &quot;SET&quot; or &quot;POST&quot; into Bitcoin Network)</p>
<p>I do need guidance on how to connect or post my Python Bitcoin Transaction Script to the Bitcoin Network?</p>
<p>My apology as I'm not an expert and I'm quite a nerd but who is willing to learn.</p>
<p>Appreciate your kind guidance on my situation here.</p>
<p>Thanking you in advance</p>

CC BY-SA 4.0
2020-09-01T16:07:33.530Z
What are you trying to do?
vincenzopalazzo
CC BY-SA 4.0
2020-09-02T03:19:19.427Z
@vincenzopalazzo - sorry to make you confused, My goal is to Run the Script in conjunction with having connected to Bitcoin Network so that my TXID is posted and the transaction goes through.
Jsim
CC BY-SA 4.0
2020-09-13T03:04:43.933Z
Your transaction is trying to spend an output (13d2d30eca974e8fa5da11b9608fa36905a22215e8df895e767fc903889367ff:0) that does not exist (and never existed as far as I can see), so this cannot work. How did you construct the transaction?
Pieter Wuille
CC BY-SA 4.0
2020-09-13T05:31:32.633Z
@PieterWuile I run that using Atom Editor without connecting to rpc_user and rpc_password. This is why in the Blockchain Explorer, it does not have or exist.
Jsim
CC BY-SA 4.0
2020-09-13T07:48:11.377Z
What editor you use isn't relevant. What program did you use to construct the transaction? It is invalid.
Pieter Wuille
CC BY-SA 4.0
2020-09-13T08:06:10.360Z
@PieterWuille Sorry, I'm using Python running inside Atom Editor. I forked this from Github --> https://github.com/jsim77/python-bitcoin-utils    About what program I use? That's the above I have. If you mentioned that this is invalid, can you guide me? to be honest, I'm no expert but still learning.
Jsim
<network><raw-transaction><transaction-id>
How to Post Transaction in Bitcoin Network?
Jsim
# How to Post Transaction in Bitcoin Network?

(Asked by: username_0 on 2020-09-01)

I need help here as it has been almost a week since I've been trying to figure this out. Fyi, I can get my Python Script running using "Mainnet" for Bitcoin Transaction that able to execute and produce the following results:
Tx ID:`8b547dd1e6393b4279afe6e083b3b563b929d09ab5bfdbf55c773c84af10b047`

`bc1qelvkpyjqc6j4smr5n4mscn86pphuv5nxugnvz9` --> P2WPKH Receiving Address

Raw transaction:

```
0200000001ff67938803c97f765e89dfe81522a20569a38f60b911daa58f4e97ca0ed3d2130000000000ffffffff01a0bb0d00000000001976a914cfd9609240c6a5586c749d770c4cfa086fc6526688ac00000000

```

Raw signed transaction:

```
02000000000101ff67938803c97f765e89dfe81522a20569a38f60b911daa58f4e97ca0ed3d2130000000000ffffffff01a0bb0d00000000001976a914cfd9609240c6a5586c749d770c4cfa086fc6526688ac02473044022023c2275892a7d85996a9578e9310122e63f9b4c89b25062a9bbc28ca2891524802206fc32e53a346fcfb41cf0193c5ddfcfad0f240593fdf95a3eda624ff4e25fe7f012102e365c048d44d323ef7ece0084b7ea403758c650a990092002375588c412377fe00000000

```

However, when I check the above Tax ID, is not in the Blockchain Explorer due to in my Python Script (that's where I've run this it does not "SET" or "POST" into Bitcoin Network)

I do need guidance on how to connect or post my Python Bitcoin Transaction Script to the Bitcoin Network?

My apology as I'm not an expert and I'm quite a nerd but who is willing to learn.

Appreciate your kind guidance on my situation here.

Thanking you in advance

**Tags:** network, raw-transaction, transaction-id

> **Comments:**
> **username_1**: What are you trying to do?  
> **username_0**: @username_1 - sorry to make you confused, My goal is to Run the Script in conjunction with having connected to Bitcoin Network so that my TXID is posted and the transaction goes through.  
> **username_2**: Your transaction is trying to spend an output (13d2d30eca974e8fa5da11b9608fa36905a22215e8df895e767fc903889367ff:0) that does not exist (and never existed as far as I can see), so this cannot work. How did you construct the transaction?  
> **username_0**: @PieterWuile I run that using Atom Editor without connecting to rpc_user and rpc_password. This is why in the Blockchain Explorer, it does not have or exist.  
> **username_2**: What editor you use isn't relevant. What program did you use to construct the transaction? It is invalid.  
> **username_0**: @username_2 Sorry, I'm using Python running inside Atom Editor. I forked this from Github --> https://github.com/jsim77/python-bitcoin-utils    About what program I use? That's the above I have. If you mentioned that this is invalid, can you guide me? to be honest, I'm no expert but still learning.  

---

## 0 answers

