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

Method sign_message

python/ccxt/async_support/modetrade.py:2421–2422  ·  view source on GitHub ↗
(self, message, privateKey)

Source from the content-addressed store, hash-verified

2419 return '0x' + r.rjust(64, '0') + s.rjust(64, '0') + v
2420
2421 def sign_message(self, message, privateKey):
2422 return self.sign_hash(self.hash_message(message), privateKey[-64:])
2423
2424 async def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}) -> Transaction:
2425 """

Callers 1

withdrawMethod · 0.95

Calls 2

sign_hashMethod · 0.95
hash_messageMethod · 0.95

Tested by

no test coverage detected