Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Parameters: [blockCount, newestBlock, rewardPercentiles]Positional parameters for
eth_feeHistory:params[0]: Hex-encoded number of blocks in the requested range (max: 0x400 / 1024 blocks).params[1]: Newest block identifier: a hex block number or one of: “latest”, “earliest”, “pending”.params[2]: Optional array of integers representing percentiles (ascending).
Returns
Historical gas fee statistics over the requested range of blocks.