ToolAssay

Optimism gas history, fee

Optimism gas history, fee. Fee history on Optimism (eth_feeHistory): base fee in gwei for each of the last N blocks (5-100, default 20), how full each block was, and the 10th, 50th and 90th percentile priority fees, with the low, average and high base fee over the window. Use to judge whether fees are rising, pick a priority fee or time a transaction; for the current price alone use op_gas.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
300 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://agent-data-tools.revmesh2074.workers.dev/op/gas-history

CategoryMarket data
Provider hostagent-data-tools.revmesh2074.workers.dev
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days4 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.01 594 ms
2026-11-25 valid payment request 402$0.01 300 ms
2026-11-24 valid payment request 402$0.01 286 ms
2026-11-23 valid payment request 402$0.01 333 ms
2026-11-22 valid payment request 402$0.01 282 ms
2026-11-21 valid payment request 402$0.01 310 ms
2026-11-20 valid payment request 402$0.01 278 ms
2026-11-19 valid payment request 402$0.01 38 ms
2026-11-18 valid payment request 402$0.01 41 ms
2026-11-17 valid payment request 402$0.01 53 ms
2026-11-16 valid payment request 402$0.01 44 ms
2026-11-15 valid payment request 402$0.01 43 ms
2026-11-14 valid payment request 402$0.01 56 ms
2026-11-13 valid payment request 402$0.01 42 ms
2026-11-12 valid payment request 402$0.01 22 ms
2026-11-11 valid payment request 402$0.01 39 ms
2026-11-10 valid payment request 402$0.01 21 ms
2026-11-09 valid payment request 402$0.01 23 ms
2026-11-08 valid payment request 402$0.01 20 ms
2026-11-07 valid payment request 402$0.01 23 ms
2026-11-06 valid payment request 402$0.01 32 ms
2026-11-05 valid payment request 402$0.01 50 ms
2026-11-04 valid payment request 402$0.01 20 ms
2026-11-03 valid payment request 402$0.01 27 ms
2026-11-02 valid payment request 402$0.01 27 ms
2026-11-01 valid payment request 402$0.01 33 ms
2026-10-31 valid payment request 402$0.01 36 ms
2026-10-29 valid payment request 402$0.01 32 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "blocks": 20
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "blocks": {
              "description": "How many recent blocks, 5-100 (default 20)",
              "examples": [
                20
              ],
              "type": "integer"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "baseFeeGwei": {
              "properties": {
                "average": {
                  "type": "number"
                },
                "high": {
                  "type": "number"
                },
                "latest": {
                  "type": "number"
                },
                "low": {
                  "type": "number"
                },
                "next": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "blocks": {
              "type": "number"
            },
            "chain": {
              "type": "string"
            },
            "chainId": {
              "type": "number"
            },
            "fromBlock": {
              "type": "number"
            },
            "history": {
              "items": {
                "properties": {
                  "baseFeeGwei": {
                    "type": "number"
                  },
                  "block": {
                    "type": "number"
                  },
                  "gasUsedRatio": {
                    "type": "number"
                  },
                  "priorityFeeGwei": {
                    "items": {
                      "type": "number"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "priorityFeeGwei": {
              "properties": {
                "p10": {
                  "type": "number"
                },
                "p50": {
                  "type": "number"
                },
                "p90": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "toBlock": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON