class BitcoinCoreAdapters {
  public static AccountInfo adaptAccountInfo(
      BitcoinCoreBalanceResponse available, BitcoinCoreBalanceResponse unconfirmed) {<FILL_FUNCTION_BODY>}
}

    BigDecimal total = available.getAmount().add(unconfirmed.getAmount());
    Balance btc = new Balance(Currency.BTC, total, available.getAmount(), unconfirmed.getAmount());
    Wallet wallet = Wallet.Builder.from(Arrays.asList(btc)).build();
    return new AccountInfo(wallet);
  
<no_super_class>