Closed stachlewski closed 3 years ago
Hash this is hash from transaction bytes and hash = txId for old format non segwit transactions, for segwit transaction txId is hash from transaction bytes converted to old format (remove segwit part)
More details you can find here https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#specification
Why hash is sometimes different than txId? For example when decoding block 481824, tx number 562. What is the purpose of "hash" here?