import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
import { RELAYER_URL as t } from "./getServerURL.mjs";
import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
import "../data-structures/http/index.mjs";
//#region libs/shared/common/src/API/relayCalls.ts
var r = async (r, i = !1) => await n.get(`${t}${e.getIdleRelay}?markAsPending=${i}&chainId=${r}`);
//#endregion
export { r as getIdleRelay };
