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 ERC20 tokens in the network. They might even offer API services to access it via external services.
Moonbeam provides two different sets of explorers: one to query the Ethereum API, and one for the Substrate API.
If you are using Brave Browser and your explorer is not connecting to the Moonbeam instance you are pointing it to, try disabling Brave Shield.
Expedition (Dev Node - TestNet)¶
By default, the explorer is connected to the Moonbase Alpha TestNet. However, you can connect it following the next steps:
- Click on the gear icon in the top right corner
- Select "Development" if you have a node running on
http://localhost:9933(default RPC location of a Moonbeam node running with
--devflag). You can also switch back to "Moonbase Alpha"
- In the case you want to connect to a specific RPC URL, select "Custom RPC" and enter the URL. For example,
Blockscout provides an easy-to-use interface for users to inspect and confirm transactions on EVM blockchains, including Moonbeam. 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 here
- Real-time transaction tracking
- Smart contract interaction
- ERC20 and ERC721 token support, listing all available token contract in a friendly interface
- Full-featured API with GraphQL, where users can test API calls directly from a web interface
An instance of Blockscout running against the Moonbase Alpha TestNet can be found in this link.
PolkadotJS (Dev Node - TestNet)¶
Polkadot JS Apps uses the WebSocket endpoint to interact with the Network. To connect it to a Moonbeam development node, you can follow the steps in this tutorial. The default port for this is
Subscan provides blockchain explorer capabilities for Substrate-based chains. It 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). Code is all open-source and can be found here.
An instance of Subscan running against the Moonbase Alpha TestNet can be found in this link.
We Want to Hear From You¶
If you have any feedback regarding block explorers or any other Moonbeam-related topic, feel free to reach out through our official development Discord channel.