# Ethereum eth_feeHistory

> Returns historical Ethereum gas information.

# `eth_feeHistory`

<Description />

## Parameters

<Params />

## Returns

- `oldestBlock`: Lowest number block of the returned range expressed as a hexadecimal number.
- `baseFeePerBlobGas`: Array of base fees per blob gas. Returns zeroes for blocks created before [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844).
- `blobGasUsedRatio`: Array of blob gas used ratios. These are calculated as the ratio of `blobGasUsed` and the max blob gas per block.
- `baseFeePerGas`: An array of block base fees per gas, including an extra block value. The extra value is the next block after the newest block in the returned range. Returns zeroes for blocks created before [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559).
- `gasUsedRatio`: An array of block gas used ratios. These are calculated as the ratio of `gasUsed` and `gasLimit`.
- `reward`: An array of effective priority fee per gas data points from a single block. All zeroes are returned if the block is empty.

## Example

<Example />

### Request

<Request />

### Response

<Tabs>
  <TabItem value="JSON">

```js
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerBlobGas": [
      "0xe3f5193b",
      "0xf6942037",
      "0xdb2e5553",
      "0xc2d3d9e8",
      "0xdb2e5553",
      "0xed15d41e"
    ],
    "baseFeePerGas": [
      "0x279c70a9b",
      "0x2a63ee068",
      "0x2a01a5449",
      "0x299fc09af",
      "0x29aa0b0c5",
      "0x28b21aaec"
    ],
    "blobGasUsedRatio": [
      0.8333333333333334,
      0,
      0,
      1,
      0.8333333333333334
    ],
    "gasUsedRatio": [
      0.7806543666666667,
      0.46377263333333335,
      0.46358696666666666,
      0.503863,
      0.40701746666666666
    ],
    "oldestBlock": "0x14535f8",
    "reward": [
      [
        "0x5f5e100",
        "0x34142698"
      ],
      [
        "0x5f5e100",
        "0x1f619e76"
      ],
      [
        "0x5f5e100",
        "0x39d10680"
      ],
      [
        "0x6824280",
        "0x214c9a15"
      ],
      [
        "0x4b571c0",
        "0x1ac123d6"
      ]
    ]
  }
}
```

  </TabItem>
</Tabs>
