Monad-specific behavior: Currently returns default values. This is temporary and will be updated with actual historical data in the future.
Get you 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— the number of blocks in the requested range (1 to 1024).newestBlock— the highest block of the requested range as a hexadecimal string or block tag.rewardPercentiles— an array of floating point values between 0 and 100 to sample the effective priority fees.
Response
result— an object containing:oldestBlock— the oldest block in the rangebaseFeePerGas— array of base fees per gas for each blockgasUsedRatio— array of gas used ratios for each blockreward— array of arrays containing the requested percentile values of effective priority fees
eth_feeHistory code examples
Use case
A practical use case foreth_feeHistory is building a gas price oracle that analyzes historical trends to predict optimal gas prices, or creating dashboards that visualize network congestion over time.Body
application/json