1

I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?

2

The TXID, the transaction ID, is a hash of the serialized (non-witness) transaction whose UTXO is being spent. It gets created at the same time as the transaction does

2
  • Thanks for the answer. So what gets broadcast on network, Only TxID or both TxID and serialized entire transaction? I believe second.
    – ManasMi
    Sep 12 '17 at 4:46
  • You only need to send the serialized transaction itself, because anyone can hash it to find the txid. But generally the txid would be sent first so the client can see if they already have it or not
    – meshcollider
    Sep 12 '17 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.