Skip to main content

eth_feeHistory RPC Method

Loading...

Updated on
Apr 09, 2026

eth_feeHistory RPC Method

Parameters

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

Returns

object
object
Loading...
oldestBlock
string
Loading...
baseFeePerGas
array
Loading...
baseFeePerBlobGas
array
Loading...
gasUsedRatio
array
Loading...
blobGasUsedRatio
array
Loading...
reward
array
Loading...
Request
1
curl -X POST "https://docs-demo.katana-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
}'
1
curl -X POST "https://docs-demo.katana-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
"id": 1,
4
"result": {
5
"oldestBlock": "0x1b15f4f",
6
"reward": [
7
[
8
"0x39386ce",
9
"0x39386ce"
10
],
11
[
12
"0x0",
13
"0x0"
14
],
15
[
16
"0x3ae238",
17
"0x3ae238"
18
],
19
[
20
"0x0",
21
"0x0"
22
],
23
[
24
"0x0",
25
"0x0"
26
]
27
],
28
"baseFeePerGas": [
29
"0x32",
30
"0x32",
31
"0x32",
32
"0x32",
33
"0x32",
34
"0x32"
35
],
36
"gasUsedRatio": [
37
0.012337691666666666,
38
0.00038585,
39
0.0017388583333333334,
40
0.00038585,
41
0.00038585
42
],
43
"baseFeePerBlobGas": [
44
"0x1",
45
"0x1",
46
"0x1",
47
"0x1",
48
"0x1",
49
"0x1"
50
],
51
"blobGasUsedRatio": [
52
0,
53
0,
54
0,
55
0,
56
0
57
]
58
}
59
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x1b15f4f",
6
"reward": [
7
[
8
"0x39386ce",
9
"0x39386ce"
10
],
11
[
12
"0x0",
13
"0x0"
14
],
15
[
16
"0x3ae238",
17
"0x3ae238"
18
],
19
[
20
"0x0",
21
"0x0"
22
],
23
[
24
"0x0",
25
"0x0"
26
]
27
],
28
"baseFeePerGas": [
29
"0x32",
30
"0x32",
31
"0x32",
32
"0x32",
33
"0x32",
34
"0x32"
35
],
36
"gasUsedRatio": [
37
0.012337691666666666,
38
0.00038585,
39
0.0017388583333333334,
40
0.00038585,
41
0.00038585
42
],
43
"baseFeePerBlobGas": [
44
"0x1",
45
"0x1",
46
"0x1",
47
"0x1",
48
"0x1",
49
"0x1"
50
],
51
"blobGasUsedRatio": [
52
0,
53
0,
54
0,
55
0,
56
0
57
]
58
}
59
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free