Docs · method · EVM

eth_gasPrice

Facts for eth_gasPrice
Units per call1 (standard)
Cachemicro — 2 s, a hit costs 0 units
Rule1 unit; cached 2 seconds per chain.
ChainsEthereum Mainnet · Base Mainnet · Arbitrum One · OP Mainnet · Polygon PoS
Specificationhttps://ethereum.github.io/execution-apis/api-documentation/

Example

curl -s https://flexyield.io/rpc/eth_mainnet \
  -H "Authorization: Bearer $FLEXYIELD_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}'

Questions

Is eth_gasPrice cached?

Yes, 2 seconds per chain; a hit costs 0 units.

All methods: methods and limits · docs · AI agents: the same call is the rpc_call MCP tool.