<p></p>
<p><b>@dmos62</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4299#discussion_r440769032">core/src/main/java/bisq/core/grpc/CoreWalletsService.java</a>:</p>
<pre style='color:#555'>> @@ -50,6 +75,68 @@ public long getAvailableBalance() {
         return balance.getValue();
     }
 
+    public long getAddressBalance(String addressString) {
+        Address address = getAddressEntry(addressString).getAddress();
+        return btcWalletService.getBalanceForAddress(address).value;
+    }
+
+    public String getFundingAddresses() {
+        if (!walletsManager.areWalletsAvailable())
+            throw new IllegalStateException("wallet is not yet available");
+
+        if (walletsManager.areWalletsEncrypted() && tempAesKey == null)
+            throw new IllegalStateException("wallet is locked");
</pre>
<p>Checks of this type will probably be performed for most API endpoints. It would be nice to eventually see them moved into their own methods (<code>checkThatWalletsAreAvailable()</code>, etc.). Not requesting this change at this point.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4299#pullrequestreview-431395433">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNRSNVU4S6O23STGR4LRW5G77ANCNFSM4N5F3SAQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUFES6A65DOT4KRPITRW5G77A5CNFSM4N5F3SA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODG3JE2I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4299#pullrequestreview-431395433",
"url": "https://github.com/bisq-network/bisq/pull/4299#pullrequestreview-431395433",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>