const e=require(`../constants/server.constants.cjs`),t=require(`./getServerURL.cjs`),n=require(`../data-structures/http/HttpClient.cjs`);require(`../data-structures/http/index.cjs`);var r=async(r,i=!1)=>await n.httpClient.get(`${t.RELAYER_URL}${e.RELAYER_CONFIG.getIdleRelay}?markAsPending=${i}&chainId=${r}`);exports.getIdleRelay=r;