Function: hashTypedData()
Computes the canonical EIP-712 digest for a { domain, types, primaryType, message } payload. The result is what an EVM wallet signs via personalsign on the…
hashTypedData(
typed):Uint8Array
Defined in: packages/bitbadgesjs-sdk/src/eip712/hash.ts:30
Computes the canonical EIP-712 digest for a { domain, types, primaryType, message }
payload. The result is what an EVM wallet signs via personal_sign on the
digest, or equivalently what eth_signTypedData_v4 derives internally.
Parameters
typed
Returns
Uint8Array