MetaMask v7.0.1

Sign Typed Data v4

The method signTypedData_v4 currently represents the latest version of the EIP 712 spec, with added support for arrays and with a breaking fix for the way structs are encoded.

This does not mean it is perfect, and does not mean we will not eventually have a v4, but we do intend to protect this namespace and keep it comaptible going forwards.

We have a great introductory blog post to this method here.

Hopefully soon we will also have good examples for parsing method input into structs for verification on-chain (great contribution opportunity!)

Last updated: 8/20/2019 Top