Docs

GetUser

type GetUser =
  | { status: UserWalletStatus.LOGGED_OUT }
  | {
      authDetails: AuthDetails;
      status: UserWalletStatus.LOGGED_IN_WALLET_UNINITIALIZED;
    }
  | {
      authDetails: AuthDetails;
      status: UserWalletStatus.LOGGED_IN_NEW_DEVICE;
      walletAddress: string;
    }
  | InitializedUser;