Examples of requestDepositAddress()


Examples of com.xeiam.xchange.justcoin.service.polling.JustcoinAccountServiceRaw.requestDepositAddress()

    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);
  }
View Full Code Here

Examples of com.xeiam.xchange.service.polling.PollingAccountService.requestDepositAddress()

    PollingAccountService genericAccountService = justcoinExchange.getPollingAccountService();

    AccountInfo accountInfo = genericAccountService.getAccountInfo();
    System.out.println(accountInfo);

    String depositAddr = genericAccountService.requestDepositAddress(Currencies.LTC);
    System.out.println("LTC deposit address: " + depositAddr);

    String txid = genericAccountService.withdrawFunds("BTC", new BigDecimal("0.001"), "1Fpx2Q6J8TX3PZffgEBTpWSHG37FQBgqKB");
    System.out.println("See the withdrawal transaction: http://blockchain.info/tx-index/" + txid);
  }
View Full Code Here

Examples of com.xeiam.xchange.service.polling.PollingAccountService.requestDepositAddress()

    PollingAccountService accountService = exchange.getPollingAccountService();
    AccountInfo accountInfo = accountService.getAccountInfo();
    System.out.println("Account info: " + accountInfo);

    String depositAddress = accountService.requestDepositAddress(Currencies.BTC);
    System.out.println("Deposit address: " + depositAddress);
  }

  private static void raw(Exchange exchange) {
View Full Code Here

Examples of com.xeiam.xchange.service.polling.PollingAccountService.requestDepositAddress()

    // Interested in the private account functionality (authentication)
    PollingAccountService accountService = ANX.getPollingAccountService();

    // Request a Bitcoin deposit address
    String address = accountService.requestDepositAddress(Currencies.BTC.toString());
    System.out.println("Address to deposit Bitcoins to: " + address);
  }
}
View Full Code Here

Examples of com.xeiam.xchange.service.polling.PollingAccountService.requestDepositAddress()

    PollingAccountService accountService = campbx.getPollingAccountService();

    AccountInfo accountInfo = accountService.getAccountInfo();
    System.out.println("accountInfo = " + accountInfo);

    String depositAddr = accountService.requestDepositAddress(Currencies.BTC);
    System.out.println("depositAddr = " + depositAddr);

    String txid = accountService.withdrawFunds("BTC", new BigDecimal("0.1"), "1FgpMU9CgQffjLK5YoR2yK5XGj5cq4iCBf");
    System.out.println("See the withdrawal transaction: http://blockchain.info/tx-index/" + txid);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.