Computes the signature hash (sighash) for a transparent input, enabling external signing with hardware wallets or HSMs.
Signature
Parameters
The PCZT containing the input to sign
Index of the transparent input (0-based)
Returns
32-byte signature hash as hex string (TypeScript) or bytes (Go/Kotlin).
Example
Hardware Wallet Flow
See Also