Skip to main content
POST
eth_feeHistory
Robinhood Chain API method that returns historical gas information for a range of blocks.

Parameters

  • quantity — number of blocks in the requested range (between 1 and 1024)
  • quantity or tag — the highest block of the requested range
  • array — array of percentile values (between 0 and 100)

Response

  • object — an object with fee history including baseFeePerGas, gasUsedRatio, and reward

eth_feeHistory code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_feeHistory
params
string · string · any[][]

Number of blocks in the requested range.

Response

200 - application/json

Returns historical gas information for a range of blocks.

jsonrpc
string
id
integer
result
object | null
Last modified on July 18, 2026