OP_TXHASH
Smart Contracts● Common
A proposed opcode computing hashes of transaction components. Would enable transaction introspection in Script, allowing covenants that constrain future spending based on transaction properties.
Technical Notes
Parameterized by TXFS (TxFieldSelector) specifying which parts to hash. Enables: output amount restrictions, destination constraints, partial signature modes. More targeted than CAT+CSFS for specific covenant use cases.
Metadata
Visibility: Public
Created:1/3/2026by System