Skip to main content

eth_feeHistory RPC Method

Loading...

Updated on
Feb 23, 2026

eth_feeHistory RPC Method

Parameters

blockCount
string/integer
REQUIRED
Loading...
newestBlock
string
REQUIRED
Loading...
rewardPercentiles
integer
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": "0x1cf5d1e",
6
"reward": [
7
[
8
"0x64",
9
"0x64"
10
],
11
[
12
"0x64",
13
"0x64"
14
],
15
[
16
"0x64",
17
"0x64"
18
],
19
[
20
"0x64",
21
"0x64"
22
]
23
],
24
"baseFeePerGas": [
25
"0x1d4c8",
26
"0x1d4c8",
27
"0x1d4c8",
28
"0x1d4c8",
29
"0x1d4c8"
30
],
31
"gasUsedRatio": [
32
0.00105,
33
0.00656975,
34
0.00633045,
35
0.02364355
36
]
37
}
38
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x1cf5d1e",
6
"reward": [
7
[
8
"0x64",
9
"0x64"
10
],
11
[
12
"0x64",
13
"0x64"
14
],
15
[
16
"0x64",
17
"0x64"
18
],
19
[
20
"0x64",
21
"0x64"
22
]
23
],
24
"baseFeePerGas": [
25
"0x1d4c8",
26
"0x1d4c8",
27
"0x1d4c8",
28
"0x1d4c8",
29
"0x1d4c8"
30
],
31
"gasUsedRatio": [
32
0.00105,
33
0.00656975,
34
0.00633045,
35
0.02364355
36
]
37
}
38
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free