For AI agents: a documentation index is available at /llms.txt. Markdown versions of pages are available by appending .md to any documentation URL.
Skip to main content

Use Chainlens Blockchain Explorer

Chainlens Blockchain Explorer supports public and private EVM networks. You can include Chainlens when generating a private network using the Developer Quickstart.

Chainlens provides an overview of the entire network, including block information, contract metadata, transaction searches, and more.

note

In production networks, you must secure access to RPC nodes.

Prerequisites

Docker and Docker Compose installed.

Start Chainlens

Generate a private network using the Developer Quickstart, with Chainlens enabled:

npx @consensys-software/besu-dev-quickstart --networkType private --outputPath ./besu-test-network --otel false --chainlens true

Start the generated network:

cd besu-test-network
./run.sh

Open http://localhost:8081/dashboard in your browser. Chainlens may take a few minutes to index the latest blocks after the containers start.

If you already generated a private network without Chainlens, generate a new quickstart directory with --chainlens true. The Developer Quickstart adds the Chainlens services to the Docker Compose file at generation time.

View on Chainlens

After starting Chainlens, you can view information about your network.

note

Screenshots in this section are taken from the Chainlens Holesky network.

The Dashboard page provides an aggregated view of network activities.

Chainlens dashboard

The Blocks page shows a real-time view of the finalized blocks.

Chainlens blocks

You can view block details by selecting a block hash or number.

Chainlens block details

The Transactions page shows a paginated view of new and historical transactions.

Chainlens transactions

If you select any transaction hash, you can get the transaction details.

Chainlens transaction_details

The Contracts page shows all the smart contracts deployed on the network.

Chainlens contracts

You can view smart contract details by selecting the contract address.

Chainlens contract details

The Events page shows all the events generated on the network.

Chainlens events

Stop Chainlens

Chainlens runs as part of the generated quickstart network. Stop the quickstart containers to stop Chainlens:

./stop.sh