.from_message(message_dict: dict)(class method) - Given a standard EIP-712 message dictionary (such as produced from.to_message), returns aNamedTuplecontaining themessageanddomainEIP712Structs..to_message(domain: EIP712Struct)- Convert the struct (and given domain struct) into the standard EIP-712 message structure..signable_bytes(domain: EIP712Struct)- Get the standard EIP-712 bytes hash, suitable for signing.
.data_dict()- Returns a dictionary with all data in this struct. Includes nested struct data, if exists..encode_type()(class method) - Gets the "signature" of the struct class. Includes nested structs too!.encode_value()- Returns abytesobject containing the ordered concatenation of each membersbytes32representation..hash_struct()- Gets thekeccak256hash of the concatenation of.type_hash()and.encode_value().get_data_value(member_name: str)- Get the value of the given struct member.set_data_value(member_name: str, value: Any)- Set the value of the given struct member.get_members()(class method) - Returns a dictionary mapping each data member's name to it's type..type_hash()(class method) - Thekeccak256hash of the result of.encode_type().