npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@intentsolutionsio/blockchain-explorer-cli

v1.0.0

Published

Command-line blockchain explorer for transactions, addresses, and contracts

Downloads

149

Readme

Blockchain Explorer CLI

Command-line blockchain explorer for analyzing transactions, addresses, smart contracts, blocks, and tokens across multiple networks.

Installation

/plugin install blockchain-explorer-cli@claude-code-plugins-plus

Usage

Explore Command

/explore

Or use the shortcut:

/explore

Example Queries

# Analyze address
/explore Look up address 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb

# Check transaction
/explore Analyze transaction 0xabc123def456...

# Smart contract analysis
/explore What does this contract do: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

# ENS lookup
/explore Show me vitalik.eth portfolio

# Block information
/explore What's in the latest Ethereum block?

# Token analysis
/explore Analyze USDC token contract

# Multi-query
/explore Compare addresses: 0xabc... and 0xdef...

Features

  • Address Analysis - Balance, tokens, NFTs, transaction history, activity patterns
  • Transaction Lookup - Status, gas fees, decoded input, token transfers, events
  • Smart Contract Explorer - Verification status, functions, security analysis, source code
  • Block Information - Producer, transactions, gas usage, statistics
  • Token Analytics - Supply, holders, distribution, recent transfers
  • Multi-Network Support - Ethereum, Polygon, Arbitrum, Optimism, Base, and more
  • ENS Resolution - Lookup .eth domains
  • Data Decoding - Function calls, event logs, input data

What It Analyzes

Addresses

  1. Balances - Native tokens and ERC-20s
  2. NFT Portfolio - All NFT holdings
  3. Transaction History - Sent and received
  4. Contract Interactions - DeFi protocols used
  5. Activity Patterns - Trader/investor/bot classification

Transactions

  1. Status & Confirmations - Success/failure state
  2. Transfer Details - From, to, value
  3. Gas & Fees - Cost breakdown
  4. Method Calls - Decoded function parameters
  5. Token Transfers - ERC-20/721 movements
  6. Event Logs - Contract events emitted

Smart Contracts

  1. Verification Status - Source code availability
  2. Contract Functions - Public methods and signatures
  3. Security Analysis - Proxy patterns, upgradeability, admin keys
  4. Token Standards - ERC-20/721/1155 implementation
  5. Usage Metrics - Transaction count, unique users

Blocks

  1. Block Details - Number, hash, timestamp
  2. Producer Info - Miner/validator, rewards
  3. Transaction List - All txs in block
  4. Gas Statistics - Usage and base fee

Tokens

  1. Supply Metrics - Total, circulating, max supply
  2. Holder Distribution - Top holders, concentration
  3. Market Data - Price, market cap, volume
  4. Transfer Activity - Recent movements

Supported Networks

  • Ethereum Mainnet - Primary network
  • Layer 2s - Arbitrum, Optimism, Base
  • Sidechains - Polygon, BNB Chain, Avalanche
  • Others - Fantom, Gnosis Chain

Output Formats

Comprehensive Tables

  • Balance breakdowns
  • Token holdings
  • Transaction history
  • Top holders

Decoded Data

  • Function parameters
  • Event logs
  • Input data

Visual Indicators

  • Success / Failed
  • Verified / ️ Unverified
  • Charts and percentages

Security Warnings

  • Unverified contracts
  • High-risk patterns
  • Suspicious activity

Data Interpretation

Transaction Status

  • Success: Executed correctly
  • Failed: Reverted (check reason)
  • Pending: Awaiting confirmation

Address Types

  • EOA: User wallet (can initiate transactions)
  • Contract: Smart contract (code at address)
  • Token: ERC standard implementation
  • Proxy: Upgradeable contract

Gas Efficiency

  • Low (<50%): Efficient operation
  • Medium (50-90%): Normal complexity
  • High (>90%): Very complex or near limit

Common Use Cases

Portfolio Tracking

Check wallet balances and token holdings.

Transaction Verification

Confirm transaction success and details.

Contract Research

Understand what a smart contract does.

Security Analysis

Check for contract verification and known issues.

Token Discovery

Research new tokens before trading.

On-Chain Forensics

Trace transaction flows and connections.

Important Notes

  • Data refreshes continuously as blocks are mined
  • Provides blockchain data, not financial advice
  • Unverified contracts may be risky
  • Gas prices are estimates, actual may vary
  • Some contract functions require special permissions
  • ENS names are resolved on-chain
  • Token prices may not be real-time

Data Sources

Analysis uses blockchain explorers APIs:

  • Etherscan (Ethereum)
  • Polygonscan (Polygon)
  • Arbiscan (Arbitrum)
  • Optimistic Etherscan (Optimism)
  • And network-specific explorers

Privacy Note

Blockchain data is public and transparent. All addresses, transactions, and contract interactions are visible to everyone.

Requirements

  • Address, transaction hash, or block number
  • (Optional) Network specification
  • (Optional) What specific aspect to analyze

Files

  • commands/explore.md - Main blockchain exploration command

License

MIT License - See LICENSE file for details