Skip to main content

BeforeScript

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

Properties​

eval​

eval(ctx: NativeContext): boolean

kind​

kind: "Before"

slot​

slot: number

toCbor​

toCbor(): number[]

toJsonSafe​

toJsonSafe(): BeforeScriptJsonSafe