The code hash of the script.
The hash type of the script.
The arguments for the script.
Static
fromCreates a Script instance from a ScriptLike object.
A ScriptLike object or an instance of Script.
A Script instance.
Static
fromCreates a Script instance from client and known script.
A ScriptLike object or an instance of Script.
A KnownScript enum.
Args for the script.
A promise that resolves to the script instance.
Converts the Script instance to molecule data format.
An object representing the script in molecule data format.
Static
fromCompares the current Script instance with another ScriptLike object for equality.
The ScriptLike object to compare with.
True if the scripts are equal, otherwise false.
Creates an instance of Script.