MCPcopy Create free account
hub / github.com/ccxt/ccxt / get_withdraw_nonce

Method get_withdraw_nonce

python/ccxt/async_support/modetrade.py:2397–2409  ·  view source on GitHub ↗
(self, params={})

Source from the content-addressed store, hash-verified

2395 return self.parse_transactions(rows, currency, since, limit, params)
2396
2397 async def get_withdraw_nonce(self, params={}):
2398 response = await self.v1PrivateGetWithdrawNonce(params)
2399 #
2400 # {
2401 # "success": True,
2402 # "timestamp": 1702989203989,
2403 # "data": {
2404 # "withdraw_nonce": 1
2405 # }
2406 # }
2407 #
2408 data = self.safe_dict(response, 'data', {})
2409 return self.safe_number(data, 'withdraw_nonce')
2410
2411 def hash_message(self, message):
2412 return '0x' + self.hash(message, 'keccak', 'hex')

Callers 1

withdrawMethod · 0.95

Calls 3

safe_dictMethod · 0.80
safe_numberMethod · 0.80

Tested by

no test coverage detected