Docs

SignTypedDataOptions

type SignTypedDataOptions<
typedData extends TypedData | Record<string, unknown> = TypedData,
primaryType extends
| keyof typedData
| "EIP712Domain" = keyof typedData,
> = TypedDataDefinition<typedData, primaryType> & { privateKey: Hex };