Skip to main content

eth_feeHistory RPC Method

Loading...

Updated on
May 21, 2026

eth_feeHistory RPC Method

Parameters

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

Returns

oldestBlock
string
Loading...
baseFeePerGas
array
Loading...
gasUsedRatio
array
Loading...
reward
array
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x1554ec2",
6
"reward": [
7
[
8
"0x4b571c0",
9
"0x2f23c46c"
10
],
11
[
12
"0x396c1b9",
13
"0x4d579d50"
14
],
15
[
16
"0x77359400",
17
"0x77359400"
18
],
19
[
20
"0x2faf080",
21
"0x3b9aca00"
22
]
23
],
24
"baseFeePerGas": [
25
"0x3af6c9f1",
26
"0x3b19496d",
27
"0x36647614",
28
"0x302c838b",
29
"0x359f85b3"
30
],
31
"gasUsedRatio": [
32
0.5091416944444445,
33
0.18145872222222223,
34
0.04269041059401201,
35
0.9524652037856148
36
],
37
"baseFeePerBlobGas": [
38
"0x320b8540d",
39
"0x384cf5f4e",
40
"0x3f5694c1f",
41
"0x44831ac79",
42
"0x3f5694c1f"
43
],
44
"blobGasUsedRatio": [
45
1,
46
1,
47
0.8333333333333334,
48
0.16666666666666666
49
]
50
}
51
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x1554ec2",
6
"reward": [
7
[
8
"0x4b571c0",
9
"0x2f23c46c"
10
],
11
[
12
"0x396c1b9",
13
"0x4d579d50"
14
],
15
[
16
"0x77359400",
17
"0x77359400"
18
],
19
[
20
"0x2faf080",
21
"0x3b9aca00"
22
]
23
],
24
"baseFeePerGas": [
25
"0x3af6c9f1",
26
"0x3b19496d",
27
"0x36647614",
28
"0x302c838b",
29
"0x359f85b3"
30
],
31
"gasUsedRatio": [
32
0.5091416944444445,
33
0.18145872222222223,
34
0.04269041059401201,
35
0.9524652037856148
36
],
37
"baseFeePerBlobGas": [
38
"0x320b8540d",
39
"0x384cf5f4e",
40
"0x3f5694c1f",
41
"0x44831ac79",
42
"0x3f5694c1f"
43
],
44
"blobGasUsedRatio": [
45
1,
46
1,
47
0.8333333333333334,
48
0.16666666666666666
49
]
50
}
51
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free