Skip to main content

MoxieIdentity

Description

MoxieIdentity is a type that represents a user's connected social profiles.

Type Signature

export interface MoxieIdentity {
id: string;
userId: string;
type: string;
dataSource: string;
connectedIdentitiesFetchStatus: string;
metadata: TwitterMetadata | FarcasterMetadata | ENSMetadata;
profileId: string;
isActive: boolean;
createdAt: string;
updatedAt: string;
}

Fields

NameTypeDescription
idstringUnique identifier for the Moxie identity
userIdstringUnique identifier for the user
typestringType of the social identity (e.g., "twitter", "farcaster")
dataSourcestringData source for the social identity (e.g., "AIRSTACK", "PRIVY")
connectedIdentitiesFetchStatusstringStatus of the connected identities fetch (e.g., "pending", "success", "error")
metadataTwitterMetadata | FarcasterMetadata | ENSMetadataMetadata for the social identity (e.g., Twitter handle, Farcaster handle)
profileIdstringProfile ID for the social identity (e.g., Twitter profile ID, Farcaster profile ID)
isActivebooleanWhether the social identity is active (true/false)
createdAtstringTimestamp of when the social identity was created
updatedAtstringTimestamp of when the social identity was last updated