Moonbeam logoMoonbeam Mainnet RPC Endpoints

Moonbeam Mainnet uses GLMR as its native currency. Its Chain ID is 1284 (0x504). Below are 3 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Moonbeam Mainnet.

Other Moonbeam Networks:

dRPC Logo

dRPC

Decentralized RPC Network

100+ blockchain RPCs

No rate limits

For builders and traders

Connect via dRPC
BlockchainRPC URLChain IDNative CurrencyBlock ExplorerActions
Moonbeam

https://moonbeam.drpc.org/

0x504GLMRhttps://moonbeam.moonscan.io
Moonbeam

https://rpc.api.moonbeam.network

0x504GLMRhttps://moonbeam.moonscan.io
Moonbeam

https://rpc.swiftnodes.io/rpc/moonbeam?key=demo

0x504GLMRhttps://moonbeam.moonscan.io

Connect to Moonbeam Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://moonbeam.drpc.org/");

const network = await provider.getNetwork();
console.log(network.chainId); // 1284n

Moonbeam Mainnet FAQ

What is the RPC URL for Moonbeam Mainnet?

There are 3 public RPC endpoints for Moonbeam Mainnet, including https://moonbeam.drpc.org/. See the full list in the table above.

What is the Chain ID for Moonbeam Mainnet?

The Chain ID for Moonbeam Mainnet is 1284 (0x504 in hexadecimal).

What is the native currency of Moonbeam Mainnet?

The native currency of Moonbeam Mainnet is GLMR.

How do I add Moonbeam Mainnet to MetaMask?

Use the "Add to Wallet" button on this page to add Moonbeam Mainnet to MetaMask automatically, or follow our step-by-step guide for Moonbeam.