A SignableMessage is a NamedTuple representing a message compatible with the EIP-191 standard, prepared for signing. It consists of three components:
version: A single byte representing the message version.header: Version-specific data (e.g., a validator address or a domain hash).body: The actual data to be signed.
In typical usage, you should not create these manually. Instead, use the encoding utility functions like encode_intended_validator, encode_defunct, or encode_typed_data to generate them.
from eth_account.messages import SignableMessage
# SignableMessage is a NamedTuple with:
# version: bytes
# header: bytes
# body: bytes