Skip to content

Ethereum method

eth_gasPrice

Returns the node's estimate of a reasonable gas price, in wei.

cheapCheap for a provider to serve — no state is read, or one key is.Primary specification (opens in a new tab)

How each provider handles it

This method has not been measured in this window.

It is scheduled but no observation has landed yet.

What it does

An estimate, not a fact. Each client computes it differently — commonly the median of recent blocks — so two correct nodes will return different numbers at the same instant, and neither is wrong.

Since EIP-1559 it is mostly a legacy convenience. Applications that care about fees read `eth_feeHistory` and compute a base fee and priority fee themselves.

Returns

QUANTITY — gas price in wei, in hex.

Try it

Runnable as written, against a keyless public endpoint. Nothing here needs an API key.

Request

curl -s https://ethereum-rpc.publicnode.com \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":73}'

As JSON-RPC

{
  "jsonrpc": "2.0",
  "method": "eth_gasPrice",
  "params": [],
  "id": 73
}

Response

{
  "id": 73,
  "jsonrpc": "2.0",
  "result": "0x1dfd14000"
}

Things that bite

  • Different providers returning different values here is expected behaviour and is never scored as a correctness failure on this platform.

Why it is measured

A cheap call whose answer requires the node to have recent blocks indexed, so it sits between the pure-constant methods and the real state reads.

Called every 120 seconds per endpoint, with jitter so the fleet does not hit a provider in lockstep.

6h window · generated 2026-08-24 16:35:02 UTC · 0 providers