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

Method hash_message

python/ccxt/dydx.py:1162–1163  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

1160 return self.parse_positions(rows, symbols)
1161
1162 def hash_message(self, message):
1163 return self.hash(message, 'keccak', 'hex')
1164
1165 def sign_hash(self, hash, privateKey):
1166 signature = self.ecdsa(hash[-64:], privateKey[-64:], 'secp256k1', None)

Callers 2

sign_messageMethod · 0.95
retrieve_credentialsMethod · 0.95

Calls 1

hashMethod · 0.45

Tested by

no test coverage detected