Method: Fisco::Client#withdraw

Defined in:
lib/fisco.rb

#withdraw(currency_code, address, amount, option = {}) ⇒ Object

Withdraw funds. Need api key.



133
134
135
136
137
138
139
# File 'lib/fisco.rb', line 133

def withdraw(currency_code, address, amount, option = {})
  option["currency"] = currency_code
  option["address"] = address
  option["amount"] = amount
  json = post_ssl(@fisco_trade_url, "withdraw", option)
  return json
end