Function verifyTransactionTokens

  • Given a transaction and its resolved source outputs – the Unspent Transaction Outputs (UTXOs) it spends – verify that the transaction passes token-aware validation.

    Parameters

    • transaction: Transaction

      the transaction to verify

    • sourceOutputs: Output[]

      the resolved list of the transaction's source outputs

    Returns string | true

    true on success, or an error message (string) on failure.

Generated using TypeDoc