| name | gas-price |
| description | Use this skill when the user asks "gas price", "how much is gas", "current gas", "check gas fees", or mentions checking gas costs on blockchain. Optional chain parameter. |
| allowed-tools | Bash |
Gas Price Fetcher
Gets current gas price for a blockchain network.
Usage
Run the script with optional chain:
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-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 must be set for the target chain
Examples
# Get gas price on Ethereum
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-gas-price.sh
# Get gas price on Polygon
${CLAUDE_PLUGIN_ROOT}/scripts/crypto-gas-price.sh polygon