Chain profile

Moonbeam chain ID 1284 and mainnet RPC URL

Source snapshot

Source evidence snapshot July 4, 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
Jul 20, 2026
Source snapshot
July 4, 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
Source snapshotJuly 4, 2026
Evidence snapshot

Verification record

Automated source snapshots and recorded probe evidence are tracked separately. The source snapshot timestamp is not a manual review date. This is not a live uptime, latency, or production reliability monitor. If a recorded public RPC probe fails, verify the source links and current endpoint availability before changing production configuration.

Automated source snapshot
Verification status
Verified metadata
Source snapshot run
source-monitoring-2026-07-04
Source snapshot tool
source-monitoring-refresh
Source set
Moonbeam docs
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. A source fetch failure or eth_chainId failure can mean a source page or public RPC endpoint was unavailable, changed, or rate-limited during a check. Re-open source links and test current RPC availability before relying on a public endpoint.

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 represented as a manual review or page freshness 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
Source snapshot provenance
source-monitoring-2026-07-04 via source-monitoring-refresh

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