Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qu.ai/llms.txt

Use this file to discover all available pages before exploring further.

function verifyTypedData(
   domain, 
   types, 
   value, 
   signature): string
Compute the address used to sign the typed data for the signature.

Parameters

ParameterTypeDescription
domainTypedDataDomainThe domain of the typed data.
typesRecord<string, TypedDataField[]>The types of the typed data.
valueRecord<string, any>The value of the typed data.
signatureSignatureLikeThe signature to verify.

Returns

string The address that signed the typed data.

Source

hash/typed-data.ts:710