import { JsonRpcProvider as e, FailoverRpcProvider as i } from "near-api-js/lib/providers";
const n = [
  "https://relmn.aurora.dev",
  "https://rpc.mainnet.near.org"
];
function c({
  providersList: r
}) {
  return new i(r);
}
function a({ urls: r }) {
  const o = r.map((t) => new e({ url: t }));
  return c({ providersList: o });
}
const s = a({
  urls: n
}), l = new e({
  url: n[0]
});
export {
  a as nearFailoverRpcProvider,
  s as nearRpcClient,
  l as nearSingleRpcClient
};
//# sourceMappingURL=rpc.js.map
