Expand description
EIP-712 Typed Structured Data decoder.
Parses eth_signTypedData_v4 JSON payloads into strongly-typed Rust structures.
EIP-712 defines a way to hash and sign typed structured data in a human-readable way. The JSON format has three top-level keys:
types— struct type definitions (includingEIP712Domain)primaryType— the name of the root type being signeddomain— domain separator valuesmessage— the actual data being signed
§Reference
Structs§
- Eip712
Parser - Parser for EIP-712 JSON payloads.
- Eip712
Type Field - A single field within an EIP-712 type definition.
- Typed
Data - A parsed EIP-712 typed data payload (eth_signTypedData_v4 format).
Enums§
- Typed
Value - A value in typed data — may be primitive or nested struct.