tkgcci avatar

Withdrawal class and 6 arrguments.

tkgcci

Published: 06 Dec 2019 › Updated: 06 Dec 2019Withdrawal class and 6 arrguments.

Withdrawal class and 6 arrguments.

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

Leave Withdrawal class and 6 arrguments. to:

Written by

Read more #withdrawal posts


Best Posts From tkgcci

We have not curated any of tkgcci's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From tkgcci