2019-01-04 10:33:02 +01:00
|
|
|
/// <reference types="node" />
|
|
|
|
declare const types: {
|
|
|
|
P2MS: string;
|
|
|
|
NONSTANDARD: string;
|
|
|
|
NULLDATA: string;
|
|
|
|
P2PK: string;
|
|
|
|
P2PKH: string;
|
|
|
|
P2SH: string;
|
|
|
|
P2WPKH: string;
|
|
|
|
P2WSH: string;
|
|
|
|
WITNESS_COMMITMENT: string;
|
|
|
|
};
|
|
|
|
declare function classifyOutput(script: Buffer): string;
|
|
|
|
declare function classifyInput(script: Buffer, allowIncomplete: boolean): string;
|
2019-03-07 03:54:37 +01:00
|
|
|
declare function classifyWitness(script: Buffer[], allowIncomplete: boolean): string;
|
2019-01-04 10:33:02 +01:00
|
|
|
export { classifyInput as input, classifyOutput as output, classifyWitness as witness, types, };
|