18 lines
390 B
TypeScript
18 lines
390 B
TypeScript
|
export interface JsonScript {
|
||
|
type: ScriptTypeEnum;
|
||
|
keyHash?: string;
|
||
|
scripts?: JsonScript[];
|
||
|
lockTime?: string | number | Date;
|
||
|
slot?: number;
|
||
|
require?: number;
|
||
|
}
|
||
|
export declare enum ScriptTypeEnum {
|
||
|
Sig = "sig",
|
||
|
All = "all",
|
||
|
Any = "any",
|
||
|
AtLeast = "atLeast",
|
||
|
After = "after",
|
||
|
Before = "before"
|
||
|
}
|
||
|
export declare const scriptTypes: string[];
|