/ DEVELOPERS / API / ETH_FEEHISTORY
eth_feeHistory
Returns base fee, gas-used ratio and (optional) reward percentiles for the most recent N blocks. Used by wallets to suggest priority fees.
eth_feeHistory
Returns base fee, gas-used ratio and (optional) reward percentiles for the most recent N blocks. Used by wallets to suggest priority fees.
eth_*category: gasreturns: object
Parameters
Response
Press Send Request to see a response.
Copy as
curl -X POST '/rpc' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_feeHistory","params":["0x5","latest",[25,50,75]],"id":1}'