Returns historical gas fee data over a range of blocks, including base fees, blob gas metrics (EIP-4844), and priority fee percentiles.
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).