1
Follow
1
Followers
Source
JavaScript
//checked
$.withdraw = function(e, currency, address, amount, fee, password) {
var withdraw_id = null;
var ret = null;
var status = false;
currency = currency.toLowerCase()
switch (e.GetName()) {
case "OKCoin_EN":
ret = e.IO("api", "POST", "/api/v1/withdraw.do", "symbol="+currency.toLowerCase()+"_usd&chargefee=" + fee + "&trade_pwd=" + password + "&withdraw_address=" + address + "&withdraw_amount=" + amount);
if (ret && typeof(ret.withdraw_id) !== 'undefined') {Related strategies
Comment
All comments (0)
No data
- 1
