Skip to main content

eth_feeHistory RPC Method

Loading...

Updated on
May 06, 2026

Parameters

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

Returns

oldestBlock
Loading...
baseFeePerGas
Loading...
gasUsedRatio
Loading...
reward
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x26cb150",
6
"reward": [
7
[
8
"0x0",
9
"0xf4240"
10
],
11
[
12
"0x0",
13
"0x1"
14
],
15
[
16
"0x0",
17
"0xa"
18
],
19
[
20
"0x0",
21
"0x1"
22
]
23
],
24
"baseFeePerGas": [
25
"0x7a120",
26
"0x7a120",
27
"0x7a120",
28
"0x7a120",
29
"0x7a120"
30
],
31
"gasUsedRatio": [
32
0.02304405,
33
0.0192761,
34
0.018757866666666668,
35
0.019899216666666667
36
],
37
"baseFeePerBlobGas": [
38
"0x1",
39
"0x1",
40
"0x1",
41
"0x1",
42
"0x1"
43
],
44
"blobGasUsedRatio": [
45
0,
46
0,
47
0,
48
0
49
]
50
}
51
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x26cb150",
6
"reward": [
7
[
8
"0x0",
9
"0xf4240"
10
],
11
[
12
"0x0",
13
"0x1"
14
],
15
[
16
"0x0",
17
"0xa"
18
],
19
[
20
"0x0",
21
"0x1"
22
]
23
],
24
"baseFeePerGas": [
25
"0x7a120",
26
"0x7a120",
27
"0x7a120",
28
"0x7a120",
29
"0x7a120"
30
],
31
"gasUsedRatio": [
32
0.02304405,
33
0.0192761,
34
0.018757866666666668,
35
0.019899216666666667
36
],
37
"baseFeePerBlobGas": [
38
"0x1",
39
"0x1",
40
"0x1",
41
"0x1",
42
"0x1"
43
],
44
"blobGasUsedRatio": [
45
0,
46
0,
47
0,
48
0
49
]
50
}
51
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free