diff --git a/functions/common.js b/functions/common.js index df6cf7aa..b0bf2728 100644 --- a/functions/common.js +++ b/functions/common.js @@ -61,7 +61,7 @@ export async function socialGet(keys, blockHeight, parse) { } export async function viewCall({ contractId, method, args }) { - const res = await fetch("https://rpc.mainnet.near.org", { + const res = await fetch("https://go.getblock.io/75e825521eeb49c9bbb15e6c977b147c", { method: "POST", headers: { "Content-Type": "application/json", diff --git a/src/App.js b/src/App.js index 00200539..8145a93f 100644 --- a/src/App.js +++ b/src/App.js @@ -45,7 +45,7 @@ const getNetworkPreset = (networkId) => { case "mainnet": return { networkId, - nodeUrl: "https://rpc.mainnet.near.org", + nodeUrl: "https://go.getblock.io/75e825521eeb49c9bbb15e6c977b147c", helperUrl: "https://helper.mainnet.near.org", explorerUrl: "https://nearblocks.io", indexerUrl: "https://api.kitwallet.app", @@ -93,7 +93,7 @@ function App(props) { (window.location.hostname === "near.social" ? "https://rpc.fastnear.com" : NetworkId === "mainnet" - ? "https://free.rpc.fastnear.com" + ? "https://go.getblock.io/75e825521eeb49c9bbb15e6c977b147c" : "https://rpc.testnet.near.org"); if (injectedConfig?.skipConfirmations) { features.commitModalBypass = {