import { userDetails } from "../auth/userDetails";

/**
 * Get the active wallet address of the users wallet. This function assumes (and requires) a user is logged in.
 * @returns The active wallet address of the users wallet.
 */
export async function getActiveKey(): Promise<string> {
  const user = await userDetails();

  return user.walletAddress;
}
