Passer au contenu principal

Méthode RPC `eth_feeHistory`

Chargement...

Mis à jour le
May 06, 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
tableau
OBLIGATOIRE
Chargement...

Renvoie

oldestBlock
Chargement...
baseFeePerGas
Chargement...
fraisDeBaseParBlobGas
tableau
Chargement...
ratio de consommation de gaz
Chargement...
blobGasUsedRatio
tableau
Chargement...
récompense
Chargement...
Requête
Réponse
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"oldestBlock": "0x5b5b452",
6
« récompense »: [
7
[
8
"0x2faf080",
9
"0x3197500"
10
],
11
[
12
"0x2faf080",
13
"0x3e9bd50"
14
],
15
[
16
"0x2faf080",
17
"0x3197500"
18
],
19
[
20
"0x2faf080",
21
"0x3e9bd50"
22
]
23
],
24
« baseFeePerGas »: [
25
"0x0",
26
"0x0",
27
"0x0",
28
"0x0",
29
« 0x0 »
30
],
31
« gasUsedRatio »: [
32
0.3780603454545455,
33
0.28568356363636366,
34
0.4123056727272727,
35
0.3091845818181818
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": "0x5b5b452",
6
« récompense »: [
7
[
8
"0x2faf080",
9
"0x3197500"
10
],
11
[
12
"0x2faf080",
13
"0x3e9bd50"
14
],
15
[
16
"0x2faf080",
17
"0x3197500"
18
],
19
[
20
"0x2faf080",
21
"0x3e9bd50"
22
]
23
],
24
« baseFeePerGas »: [
25
"0x0",
26
"0x0",
27
"0x0",
28
"0x0",
29
« 0x0 »
30
],
31
« gasUsedRatio »: [
32
0.3780603454545455,
33
0.28568356363636366,
34
0.4123056727272727,
35
0.3091845818181818
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
}
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement