Parses the value of a witness UTXO.
Witness UTXOs are expected to have their value encoded in the first 8 bytes of the hex string in little-endian byte order. This function extracts and converts that value to a BigNumber.
The hex string representing the witness UTXO.
The index of the UTXO in the PSBT input list.
The parsed value as a BigNumber.
Parses the value of a witness UTXO.
Witness UTXOs are expected to have their value encoded in the first 8 bytes of the hex string in little-endian byte order. This function extracts and converts that value to a BigNumber.