Chain profile

Moonbeam chain ID 1284 and mainnet RPC URL

Reviewed

Checked June 26, 2026. Moonbeam is an Ethereum-compatible parachain. Moonbeam documentation lists chain ID 1284, GLMR, public HTTPS endpoints with limits, and Moonscan.

Quick settings

Moonbeam RPC status and chain ID answer

Moonbeam mainnet uses chain ID 1284 / 0x504, RPC URL https://rpc.api.moonbeam.network, explorer https://moonscan.io, and GLMR as the gas token. Use the latest source check and linked docs to verify the fields before adding the network to a wallet, script, or app.

Chain ID
1284 / 0x504
RPC URL
https://rpc.api.moonbeam.network
Explorer
https://moonscan.io
Gas token
GLMR
Source docs
Moonbeam docs
Latest check
Jun 26, 2026
Reviewed
June 26, 2026
Config path
wallet_addEthereumChain JSON

Copy Moonbeam configOpen source docsExplorer directoryGas token directory

Good fit when you need:
  • the Moonbeam chain ID, RPC URL, explorer, and gas token in one place;
  • source documentation links beside the copied setup fields;
  • manual wallet config fields without connecting a wallet or choosing an RPC provider.
Before you paste these fields:
  • compare the chain ID against the source link on this page;
  • open the explorer once and confirm it matches the network you expect;
  • use the public RPC for setup checks, then choose monitored infrastructure for production traffic.
Chain ID1284 / 0x504
RPC URLhttps://rpc.api.moonbeam.network
Explorerhttps://moonscan.io
Gas tokenGLMR
VerificationVerified metadata
Manual reviewJune 26, 2026
Evidence snapshot

Verification record

Manual metadata review and automated evidence checks are tracked separately. This is not a live uptime, latency, or production reliability monitor.

Manual metadata review
Verification status
Verified metadata
Verification run
source-monitoring-2026-06-26
Verification tool
source-monitoring-refresh
Source set
Moonbeam docs
Manual review cadence
monthly; after July 26, 2026
Latest recorded chain ID probe
eth_chainId matched expected 0x504; observed 0x504 on

MethodologyReport a correction

Moonbeam wallet-add fields

Wallet directory sites often expose a connect button. Main.net keeps the same MetaMask and EIP-3085 setup fields as text so developers can compare them with official/source docs before calling wallet_addEthereumChain.

chainId
0x504 (1284)
chainName
Moonbeam
nativeCurrency
GLMR; name GLMR, symbol GLMR, decimals 18
rpcUrls
https://rpc.api.moonbeam.network
blockExplorerUrls
https://moonscan.io

Monitoring evidence

These checks are review signals only. They are not uptime, latency, privacy, or production reliability claims.

Snapshot generated
Source checks
1 sources checked
Source changes
0 changes since the previous source hash snapshot
Source fetch failures
0
eth_chainId probe
matched expected 0x504
Per-source check timing
Included in the monitoring snapshot, not used as this page's review date

View monitoring snapshots orsource change history.

Network endpoints

Primary public RPC
https://rpc.api.moonbeam.network
Explorer
https://moonscan.io
Official/source documentation
Moonbeam docs
Chain type
EVM parachain mainnet
Chain ID hex
0x504
Manual review cadence
monthly; next review after July 26, 2026

Moonbeam common questions

What is the Moonbeam mainnet RPC URL?
Moonbeam's listed primary public RPC URL is https://rpc.api.moonbeam.network.
What is Moonbeam's chain ID?
Moonbeam's listed chain ID is 1284.
What block explorer does Moonbeam use?
Moonbeam's listed block explorer is https://moonscan.io.
What gas token does Moonbeam use?
Moonbeam's listed gas token is GLMR.

Copy-ready config

Neutral app configuration built from the verified fields above. Copy buttons only place text on your clipboard; they do not connect a wallet, request permissions, or rank RPC providers.

Chain ID decimal1284
Chain ID hex0x504
RPC URLhttps://rpc.api.moonbeam.network
Explorer URLhttps://moonscan.io
EIP-3085-shaped JSON

Rendered as text for manual review before use.

{
  "chainId": "0x504",
  "chainName": "Moonbeam",
  "nativeCurrency": {
    "name": "GLMR",
    "symbol": "GLMR",
    "decimals": 18
  },
  "rpcUrls": [
    "https://rpc.api.moonbeam.network"
  ],
  "blockExplorerUrls": [
    "https://moonscan.io"
  ]
}

Developer snippets

Static examples generated from Main.net fields. These snippets are for manual configuration review and read-only RPC checks; they do not connect wallets, create signers, submit writes, or rank providers.

ts

viem chain definition

Read-only snippet generated from Main.net fields. Review official sources before production use.

import { defineChain } from 'viem'

export const moonbeamMainnet = defineChain({
  id: 1284,
  name: "Moonbeam",
  nativeCurrency: {
    name: "GLMR",
    symbol: "GLMR",
    decimals: 18,
  },
  rpcUrls: {
    default: { http: ["https://rpc.api.moonbeam.network"] },
    public: { http: ["https://rpc.api.moonbeam.network"] },
  },
  blockExplorers: {
    default: {
      name: "moonscan.io",
      url: "https://moonscan.io",
    },
  },
})
ts

wagmi read-only config

Read-only transport example generated from Main.net fields. It does not include account adapters or transaction actions.

import { createConfig, http } from 'wagmi'
import { moonbeamMainnet } from './moonbeam'

export const config = createConfig({
  chains: [moonbeamMainnet],
  transports: {
    [moonbeamMainnet.id]: http("https://rpc.api.moonbeam.network"),
  },
})
ts

ethers read-only provider

Read-only JsonRpcProvider example generated from Main.net fields. It does not create a signer.

import { JsonRpcProvider } from 'ethers'

export const provider = new JsonRpcProvider("https://rpc.api.moonbeam.network", {
  chainId: 1284,
  name: "moonbeam",
})

const network = await provider.getNetwork()
console.log(network.chainId)
bash

curl eth_chainId check

Minimal JSON-RPC identity check. This verifies the endpoint-reported chain ID only, not uptime or production suitability.

curl -s -X POST \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}' \
  https://rpc.api.moonbeam.network

# Expected chain ID: 1284 / 0x504

Developer signals

External dashboards a developer may inspect before choosing where to deploy. Main.net links to these references but does not collect the metric values, normalize methodologies, rank chains, or recommend deployments.

Safety note

Moonbeam publishes public endpoint rate limits. For production systems, compare limits and provider requirements before choosing an RPC endpoint.

Main.net is an independent reference site. It does not operate this chain, custody assets, execute transactions, or provide investment advice.

Report a correction

If this page has stale RPC, explorer, chain ID, or source information, open a public correction issue with a source link so it can be checked.

Report Moonbeam dataSend page feedback