Skip to content

ScriptHash

Extends: RefCounted

Description

Constants Descriptions

Status

enum Status{SUCCESS = 0, FROM_HEX_ERROR = 1}

Method Descriptions

_init

func _init(script_hash: _ScriptHash) -> ScriptHash

to_hex

func to_hex() -> String

to_bytes

func to_bytes() -> PackedByteArray

from_hex (static)

func from_hex(hash: String) -> FromHexResult

Sub-classes

FromHexResult

Property Descriptions

value

var value: ScriptHash
  • Getter: @value_getter

WARNING: This function may fail! First match on Result.tag or call Result.is_ok.

error

var error: String
  • Getter: @error_getter

WARNING: This function may fail! First match on Result.tag or call Result._is_err.