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

Method eth_encode_structured_data

python/ccxt/base/exchange.py:1498–1500  ·  view source on GitHub ↗
(domain, messageTypes, message)

Source from the content-addressed store, hash-verified

1496
1497 @staticmethod
1498 def eth_encode_structured_data(domain, messageTypes, message):
1499 encodedData = account.messages.encode_typed_data(domain, messageTypes, message)
1500 return Exchange.binary_concat(b"\x19\x01", encodedData.header, encodedData.body)
1501
1502 @staticmethod
1503 def eth_get_address_from_private_key(private_key):

Callers 15

sign_l1_actionMethod · 0.80
retrieve_accountMethod · 0.80
create_signed_requestMethod · 0.80
sign_withdraw_payloadMethod · 0.80
signMethod · 0.80
withdrawMethod · 0.80
withdrawMethod · 0.80
sign_l1_actionMethod · 0.80

Calls 1

binary_concatMethod · 0.80

Tested by

no test coverage detected