### Question:
EclairWallet extends AbstractLightningWallet { @Override public BigDecimal getCryptoBalance(String cryptoCurrency) { return callChecked(cryptoCurrency, () -> { List<? extends ILightningChannel> channels = getChannels(); channels.stream().map(ch -> ch.getShortChannelId() + " " + ch.isOnline() + " Can send msat: " + ch.getBalanceMsat() + " Can receive msat: " + (ch.getCapacityMsat() - ch.getBalanceMsat()) + " Capacity sat: " + ch.getCapacityMsat() ).forEach(log::info); return mSatToBitcoin(channels.stream() .mapToLong(ILightningChannel::getBalanceMsat) .max().orElse(0l)); }); } EclairWallet(String scheme, String host, int port, String password); @Override String sendCoins(String destinationAddress, BigDecimal amount, String cryptoCurrency, String description); @Override String getInvoice(BigDecimal cryptoAmount, String cryptoCurrency, Long paymentValidityInSec, String description); @Override List<? extends ILightningChannel> getChannels(); @Override boolean canSend(String invoice, BigDecimal amount, String cryptoCurrency); @Override BigDecimal getCryptoBalance(String cryptoCurrency); BigDecimal getReceivedAmount(String destinationAddress, String cryptoCurrency); @Override String getPubKey();  }### Answer:
@Ignore @Test public void getCryptoBalance() { BigDecimal cryptoBalance = w.getCryptoBalance(CryptoCurrency.LBTC.getCode()); System.out.println(cryptoBalance); }