Granite Upgrade Activates in12d:17h:00m:53s
Eth

eth_feeHistory

Returns the fee market history.

POST
/ext/bc/C/rpc#eth_feeHistory

JSON-RPC request

jsonrpcstring
methodstring
params

[blockCount, newestBlock, rewardPercentiles(optional)]

Items2 <= items <= 3
idinteger

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/C/rpc#eth_feeHistory" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "eth_feeHistory",    "params": [      10,      "latest",      [        10,        50,        90      ]    ],    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": null,
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}

Is this guide helpful?