Caravan Documentation
    Preparing search index...

    Function parseNonWitnessUtxoValue

    • Parses the value of a non-witness UTXO.

      Parameters

      • rawTx: string

        The raw transaction hex string.

      • outputIndex: number

        The index of the output in the transaction.

      Returns BigNumber

      The parsed value as a BigNumber.

      Error if the transaction cannot be parsed or the output index is invalid.