Skip to content

Type Alias: HappyUser

type HappyUser = {
  address: `0x${string}`;
  avatar: string;
  controllingAddress: `0x${string}`;
  email: string;
  ens: string;
  name: string;
  provider: string;
  type: WalletType;
  uid: string;
};

Defined in: support/wallet-common/lib/interfaces/happyUser.ts:1

Type declaration

address

address: `0x${string}`;

Happy account address

avatar

avatar: string;

Avatar URL (if available, or placeholder avatar)

controllingAddress

controllingAddress: `0x${string}`;

EOA controlling the account

email

email: string;

Email (if available, or empty)

ens

ens: string;

Active Address's ENS (if available, or empty)

name

name: string;

Display name (abbreviated address for Injected)

provider

provider: string;

Connection provider ("rabby", "metamask", "google", ...)

type

type: WalletType;

Type of the controlling EOA (Social, Injected)

uid

uid: string;

Unique identifier (Firebase user ID)