import * as hl from "@nktkas/hyperliquid";
export function getDefaultHlTransport(extraOptions = []) {
    return new hl.HttpTransport(...extraOptions);
}
export function getHlInfoClient(transport = getDefaultHlTransport()) {
    return new hl.InfoClient({ transport });
}
export async function isHlAccountActive(account) {
    const client = getHlInfoClient();
    const userRole = await client.userRole({ user: account });
    return userRole.role !== "missing";
}
//# sourceMappingURL=HyperLiquidUtils.js.map