Function outScriptToAddress

  • Converts an output script to an address string.

    Parameters

    • script: Uint8Array

      The output script.

    • network: NetworkEnum

      The network type.

    Returns string

    The address derived from the output script.