Skip to content

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

EIP712Types

Returns

Uint8Array

Edit this page on GitHub