Class UTXOsManager

Unspent Transaction Output Manager

Constructors

Methods

  • Clean the spent and pending UTXOs, allowing reset after transactions are built.

    Returns void

  • Mark UTXOs as spent and track new UTXOs created by the transaction

    Parameters

    • spent: UTXOs

      The UTXOs that were spent

    • newUTXOs: UTXOs

      The new UTXOs created by the transaction

    Returns void