Skip to main content

eth_feeHistory RPC Method

Loading...

Updated on
Jan 07, 2026

eth_feeHistory RPC Method

Parameters

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

Returns

oldestBlock
Loading...
baseFeePerGas
Loading...
gasUsedRatio
Loading...
reward
Loading...
Request
1
curl -X POST "https://docs-demo.monad-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_feeHistory",
6
"params": [
7
4,
8
"latest",
9
[
10
25,
11
75
12
]
13
],
14
"id": 1
15
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"baseFeePerGas": [
5
"0x174876e800",
6
"0x174876e800",
7
"0x174876e800",
8
"0x174876e800",
9
"0x174876e800"
10
],
11
"gasUsedRatio": [
12
0.006421405,
13
0.054923285,
14
0.036933915,
15
0.009396195
16
],
17
"baseFeePerBlobGas": [
18
"0x0",
19
"0x0",
20
"0x0",
21
"0x0",
22
"0x0"
23
],
24
"blobGasUsedRatio": [
25
0,
26
0,
27
0,
28
0
29
],
30
"oldestBlock": "0x295e6e3",
31
"reward": [
32
[
33
"0x8d0b1694",
34
"0x8d0b1694"
35
],
36
[
37
"0x53724e000",
38
"0xdc9839a6d"
39
],
40
[
41
"0x109229f38",
42
"0x77359400"
43
],
44
[
45
"0x1836e21000",
46
"0x1836e21000"
47
]
48
]
49
},
50
"id": 1
51
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free