Skip to main content

eth_feeHistory RPC Method

Loading...

Updated on
Feb 05, 2025

eth_feeHistory RPC Method

Parameters

blockCount
string
REQUIRED
Loading...
newestBlock
string
REQUIRED
Loading...
rewardPercentiles
integer
REQUIRED
Loading...

Returns

oldestBlock
string
Loading...
baseFeePerGas
array
Loading...
gasUsedRatio
array
Loading...
reward
array
Loading...
Request
1
curl https://docs-demo.peaq-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"eth_feeHistory","params":[0x4, "latest", [25, 75]],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free