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

Method hash_message

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

Source from the content-addressed store, hash-verified

2409 return self.safe_number(data, 'withdraw_nonce')
2410
2411 def hash_message(self, message):
2412 return '0x' + self.hash(message, 'keccak', 'hex')
2413
2414 def sign_hash(self, hash, privateKey):
2415 signature = self.ecdsa(hash[-64:], privateKey[-64:], 'secp256k1', None)

Callers 1

sign_messageMethod · 0.95

Calls 1

hashMethod · 0.45

Tested by

no test coverage detected