bitcoinjs-lib/types/script_signature.d.ts

9 lines
259 B
TypeScript
Raw Normal View History

/// <reference types="node" />
interface ScriptSignature {
signature: Buffer;
hashType: number;
}
export declare function decode(buffer: Buffer): ScriptSignature;
export declare function encode(signature: Buffer, hashType: number): Buffer;
export {};