eth_feeHistory
Gas data | Monad
eth_feeHistory | Monad
Monad API method that returns historical gas information, allowing you to track trends over time. Monad API method that returns historical gas information.
POST
eth_feeHistory
Monad API method that returns historical gas information, allowing you to track trends over time. This method is essential for building sophisticated gas estimation strategies based on recent network conditions.
Monad-specific behavior: Currently returns default values. This is temporary and will be updated with actual historical data in the future.
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— 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.Last modified on May 18, 2026