cardano-wallet-js
Version:
javascript/typescript client for the official cardano-wallet api
20 lines (17 loc) • 420 B
text/typescript
export interface JsonScript {
type: ScriptTypeEnum;
keyHash?: string;
scripts?: JsonScript[];
lockTime?: string | number | Date;
slot?: number;
require?: number;
}
export enum ScriptTypeEnum {
Sig = "sig",
All = "all",
Any = "any",
AtLeast = "atLeast",
After = "after",
Before = "before"
}
export const scriptTypes = ['sig', 'all', 'any', 'atLeast', 'after', 'before'];