Skip to content
docs

resolvePrimaryType

resolvePrimaryType(typed): string

Defined in: kit/src/policies.ts:398

The EIP-712 primary type exactly as wallet-evm’s signer picks it (scan F13): the explicit primaryType, else the unique type no other type references (inferPrimaryType in wallet-evm/read-only-account.ts). Ambiguous → throws, as the signer does — the policy must never judge a different struct than the one that gets signed.

unknown

string