diff --git a/wallet/src/main/scala/org/bitcoins/wallet/api/WalletApi.scala b/wallet/src/main/scala/org/bitcoins/wallet/api/WalletApi.scala index d0b9d572d8..fb5c2aa7e7 100644 --- a/wallet/src/main/scala/org/bitcoins/wallet/api/WalletApi.scala +++ b/wallet/src/main/scala/org/bitcoins/wallet/api/WalletApi.scala @@ -53,11 +53,12 @@ trait LockedWalletApi extends WalletApi { transaction: Transaction, confirmations: Int): Future[LockedWalletApi] - /** Sums up the value of all UTXOs in the wallet */ - // noinspection AccessorLikeMethodIsEmptyParen - // async calls have side effects :-) + /** Gets the sum of all confirmed UTXOs in this wallet */ def getBalance(): Future[CurrencyUnit] + /** Gets the sum of all unconfirmed UTXOs in this wallet */ + def getUnconfirmedBalance(): Future[CurrencyUnit] + /** * If a UTXO is spent outside of the wallet, we * need to remove it from the database so it won't be