Moonbeam logo

Moonbeam Mainnet

RPC Endpoints

Chain ID: 0x504 · GLMR

Other Moonbeam networks:Moonbase Alpha
How to add Moonbeam to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://moonbeam.drpc.org/
0x504GLMRExplorer
Checking
https://rpc.api.moonbeam.network
0x504GLMRExplorer
Checking
https://rpc.swiftnodes.io/rpc/moonbeam?key=demo
0x504GLMRExplorer

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 — 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.