Design Blockchain Explorer

Medium45 min
1 / 30
understanding9 min read

Problem Statement: Making On-Chain History Human-Readable

Problem Statement: Making On-Chain History Human-Readable — blockchain explorer interview depth

Problem Statement: Making On-Chain History Human-Readable

Etherscan-style explorers translate opaque chain bytes into searchable pages for blocks, transactions, addresses, and contracts. Products like Etherscan, Blockchair, and Blockchain.com Explorer optimize for human-readable chain navigation at public scale.

Why interviewers probe this now

They want proof you can separate node truth from UI projections, and that you understand read-path caching, decoding, and reorg UX—not wallet custody.

Operational anchors

Model ~8M DAU, ~120k search QPS peak, ~1.1k page RPS, head lag ≤3 blocks. Use safe_head pointers on every cache key.

Failure drills unique to this section

Viral tx hash melts BFF—single-flight + negative cache. Indexer lag—banner + disable confirmed chips. Reorg—purge address Redis namespaces keyed by affected block range.

Section 1 checkpoint

Articulate one metric, one trade-off, and one failure mode before moving on.

javaOne Dark Pro
1public record ExplorerKey(long chainId, String blockHash, int txIndex) {}
pythonOne Dark Pro
1def safe_head(tip: int, confirmations: int = 12) -> int:
2 return max(0, tip - confirmations)
typescriptOne Dark Pro
1export type PageCursor = { block: number; txIndex: number; logIndex: number };

Why interviewers care

Blockchain Explorer interviews reward crisp scope, explicit trade-offs, and failure stories—not generic microservice diagrams.

Interview checkpoint

Name one failure story for Problem Statement: Making On-Chain History Human-Readable that proves you understand real outages, not happy-path diagrams.

Key Highlights

  • Primary users: traders verifying transfers, auditors tracing funds, developers debugging contract calls, and compliance teams exporting histories.
  • Core journeys: search by tx hash → timeline view; search by address → paginated activity; search by block → ordered transactions; contract page → ABI-decoded logs.
  • Unlike wallets, explorers are read-mostly aggregators—they never custody keys and never sign transactions.
Staff+ signal
Tie Problem Statement: Making On-Chain History Human-Readable to measurable explorer SLOs—search P95, page lag blocks, cache hit ratio.
Avoid this
Treating explorers as wallets or skipping reorg UX on address balances.

Section Rescue Kit

Buzzwords to use:

safe_headKeyset pagination

Safe statements:

  • "For Problem Statement: Making On-Chain History Human-Readable, I'll separate CDN edge from indexer truth and state lag explicitly."
  • "Let me quantify search QPS and safe_head policy before picking databases."
Design Blockchain Explorer - System Design | WinJob | WinJob