UNPKG

570 BTypeScriptView Raw
1/// <reference types="node" />
2declare const types: {
3 P2MS: string;
4 NONSTANDARD: string;
5 NULLDATA: string;
6 P2PK: string;
7 P2PKH: string;
8 P2SH: string;
9 P2WPKH: string;
10 P2WSH: string;
11 WITNESS_COMMITMENT: string;
12};
13declare function classifyOutput(script: Buffer): string;
14declare function classifyInput(script: Buffer, allowIncomplete: boolean): string;
15declare function classifyWitness(script: Buffer[], allowIncomplete: boolean): string;
16export { classifyInput as input, classifyOutput as output, classifyWitness as witness, types, };