Utility function to test the validity of a TransactionOutput.

If the output does not satisfy the minAda required, or the output is larger than the maxValueSize, it will throw an error.

  • Parameters

    • output: TransactionOutput

      The TransactionOutput to test.

    • coinsPerUtxoByte: number

      From the environment's protocol params.

    • maxValueSize: number

      From the environment's protocl params.

    Returns void