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

evm-gas-price

当用户询问“gas价格”、“gas多少钱”、“当前gas”、“检查gas费用”,或提到在EVM链(如以太坊、Polygon、Arbitrum等)上检查gas成本时使用此技能。可选的链参数。

person作者: jakexiaohubgithub

EVM Gas Price Fetcher

Gets current gas price for an EVM blockchain network.

Usage

Run the script with optional chain:

${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-gas-price.sh [chain]

Arguments

  • 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 gas price on Ethereum
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-gas-price.sh

# Get gas price on Polygon
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-evm-gas-price.sh polygon

Note

For Solana fees, use the sol-fees skill instead.