Function computeScriptHash

Computes the hash of a Script object.

This function calculates the Blake2b hash of the provided Script.

  • Parameters

    • script: Script

      The Script object to hash.

    Returns string

    The hexadecimal string representation of the hash.