返回 Skill 列表
extension
分类: 开发与工程无需 API Key

evm-tx-info

当用户询问“交易详情”、“显示交易”、“这笔交易发生了什么”、“查找交易”,或提到在EVM链(如以太坊、Polygon、Arbitrum等)上查看交易数据时,请使用此技能。需要提供交易哈希,链参数可选。

person作者: jakexiaohubgithub

EVM Transaction Info Fetcher

Gets transaction details by hash from an EVM blockchain network.

Usage

Run the script with transaction hash and optional chain:

${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-tx-info.sh <tx_hash> [chain]

Arguments

  • tx_hash (required): Transaction hash (0x + 64 hex characters)
  • 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

# Get transaction on Ethereum
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-tx-info.sh 0x1234...abcd

# Get transaction on Polygon
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-tx-info.sh 0x5678...efgh polygon

Note

For Solana transaction info, use the sol-tx-info skill instead.