Skip to main content
POST
eth_feeHistory
Arc API method that returns historical gas information for a range of blocks. This is useful for estimating appropriate gas fees based on recent network activity.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • blockCount — number of blocks to return (hex or integer, max 1024)
  • newestBlock — highest block number or tag (latest, pending)
  • rewardPercentiles — (optional) array of percentiles to calculate priority fees

Response

  • result — the fee history object:
    • baseFeePerGas — array of base fees for each block (plus next block)
    • gasUsedRatio — array of gas used ratios for each block
    • oldestBlock — the oldest block number in the range
    • reward — (optional) array of priority fee percentiles for each block

eth_feeHistory code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_feeHistory
params
array

Response

200 - application/json

Returns the result of eth_feeHistory.

jsonrpc
string
id
integer
result
object
Last modified on August 3, 2026