parseP2pkhScriptSig
parseP2pkhScriptSig(
scriptSig): {hashType:number;publicKey:Uint8Array;signature:Uint8Array; } |undefined
Defined in: wallet-zcash/src/tx.ts:224
Split a P2PKH scriptSig back into DER signature (hash type stripped) and public key; undefined when it is not one.
Parameters
Section titled “Parameters”scriptSig
Section titled “scriptSig”Uint8Array
Returns
Section titled “Returns”{ hashType: number; publicKey: Uint8Array; signature: Uint8Array; } | undefined