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

Properties

address

address: `0x${string}`;

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

Happy account address


avatar

avatar: string;

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

Avatar URL (if available, or placeholder avatar)


controllingAddress

controllingAddress: `0x${string}`;

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

EOA controlling the account


email

email: string;

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

Email (if available, or empty)


ens

ens: string;

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

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


name

name: string;

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

Display name (abbreviated address for Injected)


provider

provider: string;

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

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


type

type: WalletType;

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

Type of the controlling EOA (Social, Injected)


uid

uid: string;

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

Unique identifier (Firebase user ID)