crypto_gas
Get current gas prices and EIP-1559 fee estimates for Ethereum, Base, and Polygon. Uses node-reported data and priority fee percentiles to help optimize transaction costs and timing.
Instructions
[costs $0.002 USDC per call] Get current gas prices and EIP-1559 fee estimates for an EVM chain. EVM gas price API: current gas fees for Ethereum, Base, and Polygon — node-reported gas price plus EIP-1559 estimates from the last 5 blocks: next base fee and 25th/50th/75th-percentile priority fees, in gwei. Read directly from public JSON-RPC nodes with automatic fallbacks. Use for transaction cost estimation, fee optimization, and timing on-chain actions. Cached up to 15 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain to query. |