Passer au contenu principal

Méthode RPC `eth_feeHistory`

Chargement...

Mis à jour le
Apr 09, 2026

Méthode RPC `eth_feeHistory`

Paramètres

nombreDeBlocs
chaîne de caractères/entier
OBLIGATOIRE
Chargement...
block le plus récent
chaîne de caractères
OBLIGATOIRE
Chargement...
pourcentiles de récompense
entier
OBLIGATOIRE
Chargement...

Renvoie

objet
objet
Chargement...
oldestBlock
chaîne de caractères
Chargement...
baseFeePerGas
tableau
Chargement...
fraisDeBaseParBlobGas
tableau
Chargement...
ratio de consommation de gaz
tableau
Chargement...
blobGasUsedRatio
tableau
Chargement...
récompense
tableau
Chargement...
Requête
Réponse
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x1b15f4f",
6
« récompense »: [
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
« récompense »: [
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
}
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement