Changing Polygon's RPC Endpoint on MetaMask
If you are facing any transaction delays or if the data is taking too long to load on the Dfyn Exchange, it might be because of high congestion on the Polygon network. Since some RPC endpoints may be more busy than others at a given time, changing the RPC endpoint URL may sometimes lead to lower latency and better user experience. In this guide, we will show you how to change the RPC endpoint in MetaMask's Matic network configuration. Additionally, we will also show you how to sign up for a free private RPC endpoint on Infura.
Step 1: Open your MetaMask wallet and click on My Accounts (circular button on the top right) as shown in the figure below.
Step 2: Click on Settings.
Step 3: Go to Networks and select Matic Mainnet.
Congratulations, you have successfully changed your RPC endpoint.
Note: It is not guaranteed that changing the RPC endpoint will result in lesser delays.
During times of high congestion on Public RPCs, you may consider moving to a private RPC endpoint. To create a private RPC endpoint for Polygon, you may use any of these services - Infura, MaticVigil, QuickNode, Chainstack, Ankr. In this guide, let us make a private endpoint using Infura.
Step 2: Sign up if you haven't already. Otherwise, login using your credentials.
Step 3: You should see a panel on the left hand side of your screen. On that panel, click on Ethereum.
Step 4: Click on Create a Project.
You would be asked to name your project. Give a name of your choice and click on Create.
You should see the following screen.
Step 5: Under the Endpoints dropdown, select Polygon Mainnet.
Step 6: Copy the RPC endpoint.
However, your RPC endpoint won't start working just yet. There are a few more steps that need to be followed before your Polygon RPC endpoint starts to work.
Step 8: Go to Ethereum dashboard and under My Account select Settings.
Step 9: Click on Billing.
Step 10: Click on Manage Projects.
Step 11: Check Polygon PoS add-on and add your card details.
Even though you would be required to add your card details, you won't be charged anything. The Polygon PoS add-on is completely free.
Step 12: After adding card details, click on Get Started Now.
Congratulations! Your Polygon network private RPC endpoint would now work perfectly.