BeforeScript
A NativeScript that validates a transaction if the current time range validity interval is before the given slot
export interface BeforeScript {
eval(ctx: NativeContext): boolean
kind: "Before"
slot: number
toCbor(): number[]
toJsonSafe(): BeforeScriptJsonSafe
}
Properties
eval
beforeScript.eval satisfies (ctx: NativeContext) => boolean
kind
beforeScript.kind satisfies "Before"
slot
beforeScript.slot satisfies number
toCbor
beforeScript.toCbor satisfies () => number[]
toJsonSafe
beforeScript.toJsonSafe satisfies () => BeforeScriptJsonSafe