eth_gasPriceHTTP

Returns the current gas price in wei (legacy). Prefer eth_feeHistory / maxFeePerGas on EIP-1559 chains.

Chain EthereumTransport HTTPTry-it live

How to use

  1. Pick an API key (or paste one) in the Try it panel.
  2. No parameters — send [] as-is.
  3. Send request — live against the gateway; counts toward daily quota.

Parameters

no params

This method takes an empty params array.

paramsjson
[]

Response fields

The result row describes the complete result; other rows describe its object fields or array elements. Indented rows describe nested members. For subscriptions,params.* rows describe later notifications rather than the initial reply.

FieldTypeDescription
resultQUANTITYCurrent recommended gas price in wei.