EIP-712-TYPED-DATA
EIP-712 structured data signing.
Definition
EIP-712 structure: EIP712Domain (name, version, chainId, verifyingContract, salt), Message Type (EIP712Domain + custom struct), TypedData (combined hash). Functions: encodeType(), hashStruct(), encodeData(). Use cases: ERC-20 Permit EIP-2612 (gasless approvals via signature), OpenSea orders, Compound governance votes, AAVE flash loans signed orders, smart wallet meta-transactions. Wallet support: MetaMask, WalletConnect, Rainbow, Trust Wallet display signed fields in human-readable form.
Origin
EIP-712 proposed September 2017 by Remco Bloemen, Leonid Logvinov, Jacob Evans ; activated in Ethereum Byzantium hard fork ; massively adopted by DeFi protocols and NFT markets 2020+.
Example in context
An OpenSea user signs a Sale order via EIP-712 in MetaMask ; the wallet clearly shows collection, tokenId, price, expiration instead of opaque hex hash bytes ; reduces phishing risk.
Related terms
- EIP-1559 — other EIP.