class CoinoneAccountInfoDemo {
  public static void main(String[] args) throws IOException {

    Exchange coinone = CoinoneDemoUtils.createExchange();
    AccountService accountService = coinone.getAccountService();

    generic(accountService);
    raw((CoinoneAccountServiceRaw) accountService);
  }

  private static void generic(AccountService accountService) throws IOException {
    AccountInfo accountInfo = accountService.getAccountInfo();
    System.out.println("Wallet: " + accountInfo);
    System.out.println(
        "ETH balance: " + accountInfo.getWallet().getBalance(Currency.ETH).getAvailable());
  }

  private static void raw(CoinoneAccountServiceRaw accountService) throws IOException {<FILL_FUNCTION_BODY>}
}

    CoinoneBalancesResponse coinoneBalancesResponse = accountService.getWallet();
    System.out.println("Coinone Avail Balance: " + coinoneBalancesResponse.getEth().getAvail());
    System.out.println("Coinone total Balance: " + coinoneBalancesResponse.getEth().getBalance());
  
<no_super_class>