user129532: I am writing a script that relies on txid to perform some tasks. I was wondering if it is possible for the txid to be missing from a transaction.

user5406: A txid is calculated from the transaction data by hashing the transaction (excluding the witness). It's not part of the transaction, but rather derived from the transaction. You can rely on it being available for every transaction.

user76567: Txid can’t be missing since it’s just a hash of the transaction data

129532: <p>I am writing a script that relies on <code>txid</code> to perform some tasks. I was wondering if it is possible for the <code>txid</code> to be missing from a transaction.</p>
 5406: <p>A txid is calculated from the transaction data by hashing the transaction (excluding the witness). It's not part of the transaction, but rather derived from the transaction. You can rely on it being available for every transaction.</p>
 76567: <p>Txid can’t be missing since it’s just a hash of the transaction data</p>
