System.out.println("See the withdrawal transaction: http://blockchain.info/tx-index/" + txid);
}
private static void raw(Exchange justcoinExchange) throws IOException {
JustcoinAccountServiceRaw justcoinSpecificAccountService = (JustcoinAccountServiceRaw) justcoinExchange.getPollingAccountService();
JustcoinBalance[] balances = justcoinSpecificAccountService.getBalances();
System.out.println(Arrays.toString(balances));
String ltcDepositAddr = justcoinSpecificAccountService.requestDepositAddress(Currencies.LTC);
System.out.println("LTC deposit address: " + ltcDepositAddr);
String txid = justcoinSpecificAccountService.withdrawFunds(Currencies.LTC, new BigDecimal("0.001"), "LSi6YXDVZDed9zcdB4ubT8vffLk7RGFoF2");
System.out.println("See the withdrawal transaction: http://ltc.blockr.io/" + txid);
}