eth_feeHistory
Transaction fee history Returns transaction base fee per gas and effective priority fee per gas for the requested/supported block range.
Parameters
block_count*
Type: integer
newest_block*
Type: oneOf: Quantity (hex) | Tag
Enter a block number or latest
reward_percentiles*
Type: arraynull
Returns
object
▶
Properties
Examples:
{ "gasUsedRatio": [], "oldestBlock": "0x0" }
📤 Request
curl --request POST \
--url https://testnet-rpc.monad.xyz \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 0,
"jsonrpc": "2.0",
"method": "eth_feeHistory",
"params": []
}
'