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

1 Answer 1


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

  • 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, 2017 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 Sep 12, 2017 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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