# Evm Gas Price

> Use this skill when the user asks "gas price", "how much is gas", "current gas", "check gas fees", or mentions checking gas costs on EVM chains (Ethereum, Polygon, Arbitrum, etc.). Optional chain parameter.

- Skill: `majiayu000/evm-gas-price` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/evm-gas-price`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/evm-gas-price/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/evm-gas-price

---


# EVM Gas Price Fetcher

Gets current gas price for an EVM blockchain network.

## Usage

Run the script with optional chain:
```bash
${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

```bash
# 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.

