Skip to main content

Blockchain Explorer & Analytics Interface

Design a blockchain explorer: transaction views, block details, address analytics, gas tracking, network stats, and token holder analysis.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt
Design a blockchain explorer and analytics interface for ChainScope, covering Ethereum mainnet + L2s (Arbitrum, Optimism, Base).

**Explorer context:**
- Blockchain: Ethereum mainnet + L2s (Arbitrum, Optimism, Base)
- Target users: developers debugging transactions, traders tracking whale movements, researchers analyzing on-chain activity
- Data depth: full node data: transactions, internal traces, event logs, state changes
- Unique features: cross-chain transaction tracking, natural language search, AI-powered contract analysis
- Framework: Next.js + Tailwind + Recharts + ethers.js

**Design the following views:**

1. **Network Overview Dashboard:**
   - Real-time block counter with latest block details (number, timestamp, transactions, size)
   - Network stats: TPS (transactions per second), active addresses (24h), total transactions
   - Gas/fee tracker: current gas price, historical chart, fast/standard/slow estimates
   - Price ticker: native token price, 24h change, market cap
   - Latest blocks feed: auto-updating list of new blocks with transaction count
   - Latest transactions feed: scrolling list with from/to addresses, value, status
   - Network health: node count, hash rate (PoW) or validator count (PoS), finality time
   - Search bar (prominently placed): search by address, tx hash, block number, token, ENS name

2. **Transaction Detail Page:**
   - Status badge: Success (green), Failed (red), Pending (yellow) with confirmation count
   - Transaction hash (copyable), block number (linked), timestamp (relative + absolute)
   - From to To addresses with labels (exchange, contract, known entity badges)
   - Value transferred: native token amount + USD equivalent at time of transaction
   - Fee details: gas used, gas price, total fee, max fee, priority fee (EIP-1559)
   - Input data: decoded function call with parameter names and values (if verified contract)
   - Internal transactions: trace of sub-calls made by the transaction
   - Token transfers: ERC-20/721/1155 transfers within this transaction
   - Event logs: decoded events with topic filtering

3. **Block Detail Page:**
   - Block header: number, hash, parent hash, timestamp, miner/validator
   - Block metrics: transaction count, gas used vs. limit (utilization bar), total fees, rewards
   - Transaction list: sortable table of all transactions in the block
   - Uncle/ommer blocks (if applicable)
   - Block navigation: previous/next block arrows, jump to block number

4. **Address/Account Page:**
   - Balance: native token + USD value, token holdings list with values
   - Transaction history: paginated table with filters (in/out, token type, date range, method)
   - Token transfers: separate tab for ERC-20/NFT transfer history
   - Internal transactions tab
   - Contract tab (if contract): verified source code viewer with syntax highlighting, ABI, read/write functions
   - Analytics: transaction volume over time, balance history chart, first/last activity dates
   - Labels: known address tags (exchange, bridge, DEX, whale, contract creator)
   - NFT gallery: visual grid of owned NFTs (if applicable)

5. **Token Analytics:**
   - Token overview: name, symbol, total supply, holders count, contract address
   - Holder distribution: top holders table with percentage, pie chart of concentration
   - Transfer volume: daily transfer count and volume charts
   - Price chart (if traded): candlestick chart with volume bars, DEX trading pairs
   - Token approval checker: see which contracts have spending approval for a token

6. **Advanced Analytics:**
   - Whale tracker: large transactions alerts and historical whale movements
   - Gas analytics: gas usage by contract category, gas price prediction model
   - DeFi dashboard: TVL tracking, protocol comparison, yield farming rates
   - Network activity heatmap: transaction volume by hour/day
   - Contract verification: submit and verify smart contract source code

7. **Next.js + Tailwind + Recharts + ethers.js Implementation:**
   - Real-time updates: WebSocket subscription for new blocks and pending transactions
   - Search: instant search with type detection (address format vs. tx hash vs. block number)
   - Large number handling: BigInt display with proper formatting (wei to ETH conversion)
   - Hex data: toggle between raw hex and decoded views
   - Performance: virtualized tables for blocks with thousands of transactions
   - Copy-to-clipboard: one-click copy for all hashes and addresses
   - Dark theme: default (blockchain audience preference)

Blockchain data is inherently complex — the explorer's job is to make it navigable, not to simplify it away.

What this prompt does

This prompt asks the AI to design a blockchain explorer and analytics interface across seven views: a network overview dashboard, transaction detail, block detail, address/account pages, token analytics, advanced analytics, and a framework-specific implementation section. It anchors the design to your product through [product_name], [blockchain_network], [target_users], and [data_depth], so the explorer fits Ethereum-plus-L2s and the people debugging it rather than a generic chain.

The [target_users] variable shapes which views get priority — developers debugging transactions need decoded input data and internal traces, while traders need whale tracking and token charts. And [framework] (defaulting to Next.js + Tailwind + Recharts + ethers.js) pushes the AI to reason about the genuinely hard parts: WebSocket block streaming, type-detecting search, safe BigInt and wei-to-ETH formatting, and virtualized tables for blocks with thousands of transactions.

When to use it

  • You're building a block explorer for a web3 project and need every view mapped before coding.
  • You want transaction decoding, internal traces, and event logs designed up front.
  • You're targeting a specific audience via [target_users] and need the views weighted accordingly.
  • You need search that auto-detects address vs. tx hash vs. block number specced clearly.
  • You're handling large numbers and big tables and want BigInt formatting and virtualization addressed.

Example output

Expect a structured design document: each view broken into named components — a network dashboard with live block and transaction feeds and a gas tracker, a transaction page with status badges and decoded function calls, an address page with balance, token holdings, and a contract source viewer. The closing [framework] section reads as an implementation checklist covering WebSocket updates, instant typed search, BigInt formatting, hex toggles, table virtualization, and a default dark theme — a spec to build against, not finished code.

Pro tips

  • Set [blockchain_network] precisely — EVM chains, L2s, and non-EVM networks differ in fields like uncle blocks and EIP-1559 fees.
  • Use [target_users] to prioritize: a debugging-developer audience justifies deep trace views a trader audience wouldn't read.
  • Match [data_depth] to what your node actually exposes; promising internal traces you can't index sets a false spec.
  • Swap [framework] if you're not on ethers.js or Recharts so the BigInt and charting guidance stays accurate.
  • The decoded-input and internal-transaction views depend on verified-contract data — confirm your data source before designing them.
  • Re-prompt view by view ("expand the Address/Account page to wireframe detail") to go deeper where users spend the most time.

Frequently Asked Questions

Which blockchains does this prompt support?
Whichever you set in the `[blockchain_network]` variable, defaulting to Ethereum mainnet plus L2s like Arbitrum, Optimism, and Base. EVM-specific elements such as EIP-1559 fees and uncle blocks adapt based on the network you specify.
Does it handle decoding raw transaction data?
Yes. The transaction detail view includes decoded function calls with parameter names, internal transaction traces, and decoded event logs, provided the contract is verified. There's also a toggle between raw hex and decoded views in the implementation section.
How does it deal with very large numbers like wei values?
The framework section specifically calls for BigInt handling with proper wei-to-ETH conversion and formatting. This avoids the precision errors that come from treating large blockchain integers as standard JavaScript numbers.
Can it handle blocks with thousands of transactions without lag?
Yes. The implementation guidance specifies virtualized tables so large blocks render smoothly. Combined with WebSocket streaming for live updates, the design targets responsiveness even with heavy on-chain data volumes.
Is this a finished explorer or a design spec?
It is a detailed view-by-view design specification, not deployable code. The `[framework]` section gives concrete implementation guidance for Next.js and ethers.js, but you build the actual explorer and data pipeline from the spec.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in Emerging Tech UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

AI assistant · trained on my work

👋

Hey there!

Quick Actions

WhatsApp Direct line to me

Chat on WhatsApp

+880 1723 741224 · Replies within the hour on working days

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

mejba.13@gmail.com

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support