buildPublicKeyHashIn
scrypt-ts-opcat / Script / buildPublicKeyHashIn
Function: buildPublicKeyHashIn()
buildPublicKeyHashIn(
publicKey
,signature
,sigtype
?):Script
Defined in: node_modules/@opcat-labs/opcat/types/script/script.d.cts:432
Builds a scriptSig (a script for an input) that signs a public key hash output script.
Parameters
publicKey
string
| Buffer
| PublicKey
signature
a Signature object, or the signature in DER canonical encoding
Buffer
| Signature
sigtype?
number
the type of the signature (defaults to SIGHASH_ALL)