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