<p>I run a bitcoin full node,at that node i have an Address A.</p>
<p>Assuming that Address A receive an Amount from Address B.(i can get UTXO information from blockchain.info API)
How can I automaticlly resend the received amount To an Address C (on 0 confirmations) before its display in my wallet.</p>
<p>In fact i want to create a raw transaction with that UTXO information (txid,vout and amount) and send it to Address C.</p>
<p>That UTXO belong to my private key so i can sign it and send it to the network.</p>
<p>Transaction must be created and send to the network before block is confirmed, so that in most cases the receiving transaction and sending transaction are confirmed in the same block that is mined.</p>
<p>This is technically possible, because I have seen this many times (<a href="https://explorer.bitcoin.com/btc/address/1Nc4oHe7TeDNjnvGfm7ZB6Pi2YtkST9znn" rel="nofollow noreferrer">https://explorer.bitcoin.com/btc/address/1Nc4oHe7TeDNjnvGfm7ZB6Pi2YtkST9znn</a>).</p>
<p>But the question is how ?</p>

CC BY-SA 4.0
2021-04-26T22:10:22.963Z
Why do you want to do this?
Claris
CC BY-SA 4.0
2021-04-26T22:14:23.117Z
"Transaction must be created and send to the network before block is confirmed" Why do you need this? What is your motive?
m1xolyd1an
CC BY-SA 4.0
2021-04-28T04:38:58.867Z
I work for some kind of bitcoin development tests.
I just want to (receive and send) the same amount of BTC in the same block.
Address A-> Address B -> address C (in the same block).
In fact i want to create a raw transaction with the UTXO (that is not confirmed yet) sign it with my private key and send it to the network (that UTXO belong to me).
I was wondering if that possible or no.
Gass
<unconfirmed-transactions><raw-transaction>
Automatically forward bitcoins from address A to Address C At 0 confirmations?
Gass
# Automatically forward bitcoins from address A to Address C At 0 confirmations?

(Asked by: username_0 on 2021-04-26)

I run a bitcoin full node,at that node i have an Address A.

Assuming that Address A receive an Amount from Address B.(i can get UTXO information from blockchain.info API)
How can I automaticlly resend the received amount To an Address C (on 0 confirmations) before its display in my wallet.

In fact i want to create a raw transaction with that UTXO information (txid,vout and amount) and send it to Address C.

That UTXO belong to my private key so i can sign it and send it to the network.

Transaction must be created and send to the network before block is confirmed, so that in most cases the receiving transaction and sending transaction are confirmed in the same block that is mined.

This is technically possible, because I have seen this many times (<https://explorer.bitcoin.com/btc/address/1Nc4oHe7TeDNjnvGfm7ZB6Pi2YtkST9znn>).

But the question is how ?

**Tags:** unconfirmed-transactions, raw-transaction

> **Comments:**
> **username_1**: Why do you want to do this?  
> **username_2**: "Transaction must be created and send to the network before block is confirmed" Why do you need this? What is your motive?  
> **username_0**: I work for some kind of bitcoin development tests. I just want to (receive and send) the same amount of BTC in the same block. Address A-> Address B -> address C (in the same block). In fact i want to create a raw transaction with the UTXO (that is not confirmed yet) sign it with my private key and send it to the network (that UTXO belong to me). I was wondering if that possible or no.  

---

## 0 answers

