Skip to content
docs

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.

Uint8Array

{ hashType: number; publicKey: Uint8Array; signature: Uint8Array; } | undefined