The Native scripts form an expression tree, the evaluation of the script produces either true or false.

Note that it is recursive. There are no constraints on the nesting or size, except that imposed by the overall transaction size limit (given that the script must be included in the transaction in a script witnesses).

Hierarchy

  • NativeScript

Constructors

Properties

#originalBytes: undefined | HexBlob = undefined
#scripNOfK: undefined | Serialization.ScriptNOfK
#scriptAll: undefined | Serialization.ScriptAll
#scriptAny: undefined | Serialization.ScriptAny
#scriptPubKey: undefined | Serialization.ScriptPubkey
#timelockExpiry: undefined | Serialization.TimelockExpiry
#timelockStart: undefined | Serialization.TimelockStart

Methods

Generated using TypeDoc