Function: hashStruct()
Returns the 32-byte hash of a single struct value. Useful for callers who want to verify intermediate digests against the chain's Go reference.
hashStruct(
primaryType,value,types):Uint8Array
Defined in: packages/bitbadgesjs-sdk/src/eip712/hash.ts:40
Returns the 32-byte hash of a single struct value. Useful for callers who want to verify intermediate digests against the chain's Go reference.
Parameters
primaryType
string
value
Record<string, unknown>
types
Returns
Uint8Array