8 lines
259 B
TypeScript
8 lines
259 B
TypeScript
/// <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 {};
|