Mantle
eth_feeHistory17 kredi
Bir blok aralığı için geçmiş gas ücreti verilerini döndürür.
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| blockCount | QUANTITY | Blok sayısı. |
| newestBlock | QUANTITY | TAG | En yeni blok. |
| rewardPercentiles | number[] | Öncelik ücreti ödülleri için yüzdelikler. |
Dönüş değeri
Tür
Object
Ücret geçmişi nesnesi (baseFeePerGas, gasUsedRatio, reward, …).
Kod örnekleri
curl https://holy-burned-sky-mantle-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_feeHistory",
"params": [
"0x5",
"latest",
[
25,
75
]
]
}'