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