Calculates the total input value from the given PSBT.
This function aggregates the total value of all inputs, considering both witness and non-witness UTXOs. It uses helper functions to parse and sum up the values of each input.
The PsbtV2 instance representing the partially signed Bitcoin transaction.
The total input value as a BigNumber.
Calculates the total input value from the given PSBT.
This function aggregates the total value of all inputs, considering both witness and non-witness UTXOs. It uses helper functions to parse and sum up the values of each input.