ScriptHash
Opaque ByteArray
that represents either a ValidatorHash
, a MintingPolicyHash
, or a StakingValidatorHash
.
This is returned by the TxOutput.ref_script_hash
getter (a reference script can be any of the above script types).
Associated functions
from_data
ScriptHash::from_data(data: Data) -> ScriptHash
Getters
bytes
script_hash.bytes -> ByteArray
Operators
==
ScriptHash == ScriptHash -> Bool
!=
ScriptHash != ScriptHash -> Bool
Methods
serialize
script_hash.serialize() -> ByteArray