toHash method
Generates the hash of the native script.
Implementation
ScriptHash toHash() {
return ScriptHash(QuickCrypto.blake2b224Hash([0, ...serialize()]));
}
Generates the hash of the native script.
ScriptHash toHash() {
return ScriptHash(QuickCrypto.blake2b224Hash([0, ...serialize()]));
}