Type alias TypedMessage<T>
TypedMessage<T>: {
domain: {
chainId?: number;
name?: string;
salt?: ArrayBuffer;
verifyingContract?: string;
version?: string;
};
message: Record<string, unknown>;
primaryType: keyof T;
types: T;
}
Type declaration
-
domain: {
chainId?: number;
name?: string;
salt?: ArrayBuffer;
verifyingContract?: string;
version?: string;
}
-
Optional
chainId?: number
-
Optional
name?: string
-
Optional
salt?: ArrayBuffer
-
Optional
verifyingContract?: string
-
Optional
version?: string
-
message: Record<string, unknown>
-
primaryType: keyof T
-
types: T
This is the message format used for
signTypeData
, for all versions exceptV1
.