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.

    Returns

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

    Parameters

    • transaction: Transaction<Input<Uint8Array, Uint8Array>, Output<Uint8Array, Uint8Array>>

      the transaction to verify

    • sourceOutputs: Output<Uint8Array, Uint8Array>[]

      the resolved list of the transaction's source outputs

    Returns string | true

Generated using TypeDoc