Use UTXOs before transaction is signed/broadcasted

Use UTXOs before transaction is signed/broadcasted

Suppose I have an address with a single UTXO. I want to create 100 transactions and sign/broadcast them all at once. Could I do the following:

  1. Create a transaction by hand (where change funds are sent to the sender address)
  2. Calculate the transaction ID
  3. Use the transaction ID and change UTXO output index to create the second transaction
  4. Go to step 2

Until I create 100 transactions? I suppose my question boils down to: Is it possible to calculate the TXID of a raw transaction before it is signed or broadcasted?

Thanks!

https://ift.tt/2U68M0o

Comments

Popular posts from this blog

Bitcoin Core errors with database block

sendrawtransaction and txn-mempool-conflict