sign_terms_of_service

Documentation for eth_defi.terms_of_service.acceptance_message.sign_terms_of_service function.

sign_terms_of_service(user, signable_message)

Sign terms of service for a local dev test account.

Returns

Tuple (message hash, signed message)

Parameters
Return type

tuple[bytes, bytes]