Witness in Bitcoin transaction refers to contents of signature scripts which prove the authenticity of a transaction. Blocks commit to witness data via putting the witness commitment into an output of the coinbase transaction.
-
Witness commitment = combined hash of witness root hash and witness reserved value.
-
Witness root hash = merkle root of witness txids (wtxids) of all transactions in the block.