GetUserWalletStatusRpcReturnType

type GetUserWalletStatusRpcReturnType =
| { status: UserWalletStatus.LOGGED_OUT; user: undefined }
| {
status: UserWalletStatus.LOGGED_IN_WALLET_UNINITIALIZED;
user: { authDetails: AuthDetails };
}
| {
status: UserWalletStatus.LOGGED_IN_NEW_DEVICE;
user: { authDetails: AuthDetails; walletAddress: string };
}
| {
status: UserWalletStatus.LOGGED_IN_WALLET_INITIALIZED;
user: Omit<InitializedUser, "wallet" | "status">;
};