Withdrawal class and 6 arrguments.

in #withdrawal5 years ago

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],
}

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60171.52
ETH 2421.68
USDT 1.00
SBD 2.46