Block explorers can be thought of as search engines for the blockchain. They allow users to search information such as balances, contracts, and transactions. More advanced block explorers even offer indexing capabilities, which enable them to provide a complete set of information, such as ERC-20 tokens in the network. They might even offer API services to access it via external services.
Moonbeam provides two different kind of explorers: ones to query the Ethereum API, and others dedicated to the Substrate API. All EVM-based transactions are accessible via the Ethereum API wheras the Substrate API can be relied upon for Substrate-native functions such as governance and staking. The Substrate API also includes information about the EVM-based transactions, but only limited information is shown.
Moonscan is the primary Ethereum API block explorer for Moonbeam-based networks. Built by the Etherscan team, Moonscan provides a powerful, intuitive, and feature-rich experience. In addition to its comprehensive transaction and block data, Moonscan provides a number of statistics and charts, such as average gas price, daily transactions, and block size charts.
Other Moonscan features include:
- Collator leaderboard ranking collators by performance
- Contract source code verification, accessible both via a web interface and an API
- Ability to read and write state data of verified smart contracts
- Token approvals where you can view and revoke any of your prior token approvals
- Adding token information and creating a profile for ERC-20s, ERC-721s, and ERC-1155s deployed to Moonbeam-based networks. The profile can include links to your project, social media, price data, and other information pertaining to your token
Blockscout provides an easy-to-use interface for users to inspect and confirm transactions on EVM blockchains, including Moonbeam-based networks. It allows you to search transactions, view accounts, and balances, and verify smart contracts. More information can be found in their documentation site.
As main features, Blockscout offers:
- Open source development, meaning all code is open to the community to explore and improve. You can find the code on GitHub
- Real-time transaction tracking
- Smart contract interaction
- Full-featured API with GraphQL, where users can test API calls directly from a web interface
- ERC-20 and ERC-721 token support, listing all available token contracts in a friendly interface
A Moonbeam-themed version of the Expedition explorer can be found in this link. It is a basic JSON-RPC based explorer.
By default, the explorer is connected to Moonbeam. However, you can switch to Moonriver or Moonbase Alpha, or connect it to a local dev node by following the next steps:
- Click on the network text, where you'll be able to select between all different networks, including a Moonbeam Development Node running on
- In the case you want to connect to a specific RPC URL, select Add Custom Chain and enter the URL. For example,
Subscan is the primary Substrate API block explorer for Moonbeam-based networks. Subscan is capable of parsing standard or custom modules. For example, this is useful to display information regarding the Staking, Governance, and EVM pallets (or modules). The code is all open-source and can be found in the Subscan Essentials GitHub repo.
While not a full-featured block explorer, Polkadot.js Apps is a convenient option especially for users running local development nodes to view events and query transaction hashes. Polkadot.js Apps uses the WebSocket endpoint to interact with the Network. You can easily connect to Moonbeam, Moonriver, or Moonbase Alpha.
To connect it to a Moonbeam development node, you can follow the steps in the Connecting Polkadot.js Apps to a Local Moonbeam Node section of the Getting Started with a Moonbeam Development Node guide. The default port for this is
| Created: January 25, 2021