pub fn value_balance(
        &self,
        utxos: &HashMap<transparent::OutPoint, transparent::Utxo>,
    ) -> Result<ValueBalance<NegativeAllowed>, ValueBalanceError> {
        self.value_balance_from_outputs(&outputs_from_utxos(utxos.clone()))
    }
/// Get the value balances for this transaction.
/// These are the changes in the transaction value pool,
/// split up into transparent, sprout, sapling, and orchard values.
///
/// Calculated as the sum of the inputs and outputs from each pool,
/// or the sum of the value balances from each pool.
///
/// Positive values are added to this transaction's value pool,
/// and removed from the corresponding chain value pool.
/// Negative values are removed from this transaction,
/// and added to the corresponding pool.
///
/// https://zebra.zfnd.org/dev/rfcs/0012-value-pools.html#definitions
///
/// `utxos` must contain the utxos of every input in the transaction,
/// including UTXOs created by earlier transactions in this block.
///
/// Note: the chain value pool has the opposite sign to the transaction
/// value pool.
Get the value balances for this transaction.
These are the changes in the transaction value pool,
split up into transparent, sprout, sapling, and orchard values.

Calculated as the sum of the inputs and outputs from each pool,
or the sum of the value balances from each pool.

Positive values are added to this transaction's value pool,
and removed from the corresponding chain value pool.
Negative values are removed from this transaction,
and added to the corresponding pool.



`utxos` must contain the utxos of every input in the transaction,
including UTXOs created by earlier transactions in this block.

the chain value pool has the opposite sign to the transaction
value pool.
Get the value balances for this transaction . These are the changes in the transaction value pool split up into transparent sprout sapling and orchard values . Calculated as the sum of the inputs and outputs from each pool or the sum of the value balances from each pool . Positive values are added to this transaction ' s value pool and removed from the corresponding chain value pool . Negative values are removed from this transaction and added to the corresponding pool . ` utxos ` must contain the utxos of every input in the transaction including UTXOs created by earlier transactions in this block . the chain value pool has the opposite sign to the transaction value pool .
pub fn value_balance(
        &self,
        utxos: &HashMap<transparent::OutPoint, transparent::Utxo>,
    ) -> Result<ValueBalance<NegativeAllowed>, ValueBalanceError> {
        self.value_balance_from_outputs(&outputs_from_utxos(utxos.clone()))
    }
pub fn value_balance ( & self , utxos : & HashMap < transparent :: OutPoint , transparent :: Utxo > , ) -> Result < ValueBalance < NegativeAllowed > , ValueBalanceError > { self . value_balance_from_outputs ( & outputs_from_utxos ( utxos . clone ( ) ) ) }
Get the value balances for this transaction.
Get the value balances for this transaction .
&self
utxos
&HashMap<transparent::OutPoint, transparent::Utxo>