toHash method

DataHash toHash()

Converts the Plutus data to its hash representation.

Implementation

DataHash toHash() {
  return DataHash(QuickCrypto.blake2b256Hash(serialize()));
}