Type alias TypedData<T>Alpha

TypedData<T>: {
    domain: TypedDataDomain;
    message: T;
    primaryType: string;
    types: Record<string, FieldDefinition[]>;
}

EIP-712 Typed data struct definition.

Type Parameters

  • T

Type declaration

  • domain: TypedDataDomain

    is the signature domain separator

  • message: T

    the request that User is asked to sign

  • primaryType: string

    points to the type from types. It's the root object of message

  • types: Record<string, FieldDefinition[]>

    contains the schema definition of the types that are in msg