Caravan Documentation
    Preparing search index...

    Function calculateTotalOutputValue

    • Calculates the total output value from the given PSBT.

      This function sums the values of all outputs in the PSBT.

      Parameters

      • psbt: PsbtV2

        The PsbtV2 instance representing the partially signed Bitcoin transaction.

      Returns BigNumber

      The total output value as a BigNumber.