Gas
eth_feeHistory
Name
Type
Description
Name
Type
Description
// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_feeHistory","params":["0x10", "latest", [0.1, 0.2, 0.3]],"id":1}' http://localhost:8551
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"oldestBlock": "0xa5b",
"reward": [
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x5d21dba00",
"0x5d21dba00",
"0x5d21dba00"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x5d21dba00",
"0x5d21dba00",
"0x5d21dba00"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x5d21dba00",
"0x5d21dba00",
"0x5d21dba00"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
],
[
"0x0",
"0x0",
"0x0"
]
],
"baseFeePerGas": [
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0",
"0x0"
],
"gasUsedRatio": [
0,
0,
0,
0,
0,
0.0002952004000002952,
0,
0,
0.00029504250000029504,
0,
0,
0.0002963777000002964,
0,
0,
0,
0
]
}
}eth_maxPriorityFeePerGas
Type
Description
Last updated