The encoded script currently being executed, beginning at the
lastCodeSeparator
.
The signing serialization type of the signature (A.K.A. sighash
type).
Returns the sha256 hash of the provided input.
To incrementally construct a sha256 hash (e.g. for streaming), use init
,
update
, and final
.
a Uint8Array to be hashed using sha256
Generated using TypeDoc
Generate the signing serialization for a particular transaction input following the algorithm required by the provided
signingSerializationType
.Note: When validating transactions with multiple signatures, performance-critical applications should use a memoized sha256 implementation to avoid re-computing hashes.