Withdrawal self, code, amount, address, tag, params.
self
x = self repeats.
def withdraw(self, code, amount, address, tag=None, params={}):
self.check_address(address)
self.load_markets()
# currency = self.currency(code)
if code != 'BTC':
raise ExchangeError(self.id + ' supports BTC withdrawals only, other currencies coming soon...')
request = {
'currency': 'XBt',
'amount': amount,
'addresss': address,
}
response = self.privatePostUserRequestWithdrawal(self.extend(request, params))
return {
'info': response,
'id': response[transactID],
}