How to forward a TX to another address

How to forward a TX to another address

Having a bitcoin tx, where I have one of the output (utxo#1) private key to unlock.
I want to be able to create a tx (#2) that spends this utxo#1 to a different address. How can I do it using code and bitcoind rpc calls ?
Could it be something to do with "lockunspent" ?

https://ift.tt/2CSQud8

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

When mining with 2 computers, do I need to use 2 separate wallets addresses?