src/Stratis.Features.FederatedPeg/Wallet/FederationWallet.cs
/// <summary>
/// Get the accounts total spendable value for both confirmed and unconfirmed UTXO.
/// </summary>
Get the accounts total spendable value for both confirmed and unconfirmed UTXO.
Get the accounts total spendable value for both confirmed and unconfirmed UTXO .
public (Money ConfirmedAmount, Money UnConfirmedAmount) GetSpendableAmount()
        {
            long confirmed = this.MultiSigAddress.Transactions.Sum(t => t.SpendableAmount(true));
            long total = this.MultiSigAddress.Transactions.Sum(t => t.SpendableAmount(false));
            return (confirmed, total - confirmed);
        }
public ( Money ConfirmedAmount , Money UnConfirmedAmount ) GetSpendableAmount ( ) { long confirmed = this . MultiSigAddress . Transactions . Sum ( t => t . SpendableAmount ( true ) ) ; long total = this . MultiSigAddress . Transactions . Sum ( t => t . SpendableAmount ( false ) ) ; return ( confirmed , total - confirmed ) ; }
Get the accounts total spendable value for both confirmed and unconfirmed UTXO.
Get the accounts total spendable value for both confirmed and unconfirmed UTXO .