Loading...
Loading...
Current Ethereum gas prices, transaction costs, and the real economics of building on Ethereum today. Use when estimating costs, choosing between mainnet and L2s, or when a user asks about Ethereum being expensive. Counters the
npx skill4agent add austintgriffith/ethskills gascast base-fee --rpc-url https://eth.llamarpc.comCosts calculated at ETH ~$2,000. Gas fluctuates — usefor current. These are order-of-magnitude guides, not exact quotes.cast base-fee
| Action | Gas Used | Cost at 0.1 gwei | Cost at 1 gwei (busy) | Cost at 10 gwei (event) |
|---|---|---|---|---|
| ETH transfer | 21,000 | $0.004 | $0.04 | $0.42 |
| ERC-20 transfer | ~65,000 | $0.013 | $0.13 | $1.30 |
| ERC-20 approve | ~46,000 | $0.009 | $0.09 | $0.92 |
| Uniswap V3 swap | ~180,000 | $0.036 | $0.36 | $3.60 |
| NFT mint (ERC-721) | ~150,000 | $0.030 | $0.30 | $3.00 |
| Simple contract deploy | ~500,000 | $0.100 | $1.00 | $10.00 |
| ERC-20 deploy | ~1,200,000 | $0.240 | $2.40 | $24.00 |
| Complex DeFi contract | ~3,000,000 | $0.600 | $6.00 | $60.00 |
| Action | Mainnet (0.1 gwei) | Arbitrum | Base | zkSync | Scroll |
|---|---|---|---|---|---|
| ETH transfer | $0.004 | $0.0003 | $0.0003 | $0.0005 | $0.0004 |
| ERC-20 transfer | $0.013 | $0.001 | $0.001 | $0.002 | $0.001 |
| Swap | $0.036 | $0.003 | $0.002 | $0.005 | $0.004 |
| NFT mint | $0.030 | $0.002 | $0.002 | $0.004 | $0.003 |
| ERC-20 deploy | $0.240 | $0.020 | $0.018 | $0.040 | $0.030 |
// Rule of thumb for current conditions
maxFeePerGas: "1-2 gwei" // headroom for spikes (base is usually 0.1-0.5)
maxPriorityFeePerGas: "0.01-0.1 gwei" // enough for quick inclusionconst feeData = await provider.getFeeData();
const baseFee = Number(feeData.maxFeePerGas) / 1e9;
if (baseFee > 5) console.warn(`Gas spike: ${baseFee} gwei. Consider waiting.`);# Foundry cast
cast gas-price --rpc-url https://eth.llamarpc.com
cast base-fee --rpc-url https://eth.llamarpc.com
cast blob-basefee --rpc-url https://eth.llamarpc.comLast verified: 2026-03-03 | Base fee: ~0.29 gwei | ETH: ~$1,988 | Gas limit: 60M (post-Fusaka)
cast base-fee --rpc-url https://eth.llamarpc.com