Eth
eth_feeHistory
Returns the fee market history.
JSON-RPC request
jsonrpcstring
methodstring
params
[blockCount, newestBlock, rewardPercentiles(optional)]
Items
2 <= items <= 3idinteger
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?