Parameters
Number of blocks to include in the history. Must be between 1 and 1024. Can be a decimal integer or a hex string (e.g.,
4 or "0x4").The newest block in the requested range. Block number in hexadecimal, or a block tag:
latest, safe, or finalized.Optional. An array of percentile values between 0 and 100. For each block, the node returns the effective priority fee at each percentile from the transactions in that block. For example,
[25, 50, 75] returns 25th, 50th, and 75th percentile values.Returns
Fee history data for the requested range.