Moonbeam Mainnet
RPC EndpointsChain ID: 0x504 · GLMR
Other Moonbeam networks:Moonbase Alpha
Moonbeam Mainnet uses GLMR as its native currency. Chain ID: 1284 (0x504). Below are 3 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Moonbeam Mainnet.
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); // 1284nMoonbeam Mainnet — common questions
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.