Agent skill

evm-block-info

Use this skill when the user asks "block info", "what's in block", "latest block", "get block details", or mentions viewing block data on EVM chains (Ethereum, Polygon, Arbitrum, etc.). Optional block number/tag and chain parameter.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/evm-block-info

SKILL.md

EVM Block Info Fetcher

Gets block information from an EVM blockchain network.

Usage

Run the script with optional block and chain:

bash
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-block-info.sh [block] [chain]

Arguments

  • block (optional): Block number, hex, or tag (latest, pending, earliest, finalized, safe). Default: latest
  • chain (optional): Chain name - ethereum (default), polygon, arbitrum, optimism, base, bsc

Supported Chains

Chain Aliases Explorer
ethereum eth, mainnet Etherscan
polygon matic Polygonscan
arbitrum arb Arbiscan
optimism op Optimism Etherscan
base - Basescan
bsc binance BSCScan

Requirements

  • cast (Foundry) must be installed
  • RPC URL is optional (uses PublicNode fallback)

Examples

bash
# Get latest block on Ethereum
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-block-info.sh

# Get specific block on Polygon
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-block-info.sh 50000000 polygon

Note

For Solana slot/block info, use the sol-slot-info skill instead.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results