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