AtLeastScript
export interface AtLeastScript {
eval(ctx: NativeContext): boolean
kind: "AtLeast"
nRequired: number
scripts: NativeScript[]
toCbor(): number[]
toJsonSafe(): AtLeastScriptJsonSafe
}
A NativeScript that validates a transaction if at least nRequired child NativeScripts validate it
Properties
eval
eval(ctx: NativeContext): boolean
kind
kind: "AtLeast"
nRequired
nRequired: number
scripts
scripts: NativeScript[]
toCbor
toCbor(): number[]
toJsonSafe
toJsonSafe(): AtLeastScriptJsonSafe