Skip to main content

moxieUserInfo

Description

moxieUserInfo state returns all Moxie user's related information, from user ID, username, wallet, etc.

Example

const moxieUserInfo: MoxieUser = state.moxieUserInfo;

Type Signature

export interface MoxieUser {
id: string;
userName?: string;
name?: string;
bio?: string;
profileImageUrl?: string;
referralCode: string;
referrerId?: string;
moxieScore?: number;
moxieRank?: number;
totalUsers?: number;
primaryWalletId?: string;
communicationPreference?: string;
createdAt: string;
identities: MoxieIdentity[];
wallets: MoxieWallet[];
vestingContracts?: VestingContract[] | null;
}

Fields

NameTypeDescription
idstringUnique identifier for the Moxie user
userNamestringUser's chosen username
namestringUser's display name
biostringUser's biography or description
profileImageUrlstringURL to user's profile image
referralCodestringUser's unique referral code
referrerIdstringID of the user who referred this user
moxieScorenumberUser's Moxie Score based on their activity and connections
moxieRanknumberUser's rank among all Moxie users
totalUsersnumberTotal number of Moxie users
primaryWalletIdstringID of user's primary wallet
communicationPreferencestringUser's preferred communication method
createdAtstringTimestamp of when the user account was created
identitiesMoxieIdentity[]Array of connected social identities (Twitter, Farcaster, etc.)
walletsMoxieWallet[]Array of connected crypto wallets
vestingContractsVestingContract[]Array of vesting contract information