Skip to content
Eden Engine

Ethereum Gas Price Oracle

omnial/gas-oracle

Returns the current Ethereum mainnet base fee plus five priority-fee (gwei) estimates at different confidence levels, sourced from Blocknative, so an agent can price a transaction before signing it.

activeper callv2

Price

Up to $0.0151 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Blocknative

Data from Blocknative.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/gas-oracle" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/gas-oracle" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/gas-oracle", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/gas-oracle", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0151
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Number of entries in `items` -- 1 on the real call observed."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "'gas_oracle' on the real call observed."
          },
          "unit": {
            "type": "string",
            "description": "'gwei' on the real call observed -- every fee/price field below is in this unit."
          },
          "chain": {
            "type": "string",
            "description": "'ethereum' on the real call observed."
          },
          "source": {
            "type": "string",
            "description": "The underlying fee-estimation method, e.g. 'eth_feeHistory'."
          },
          "estimates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "price": {
                  "type": "number",
                  "description": "Suggested total gas price (gwei) for this confidence tier."
                },
                "confidence": {
                  "type": "number",
                  "description": "Percent likelihood of inclusion at this fee, e.g. 99, 95, 90, 80, 70."
                },
                "maxFeePerGas": {
                  "type": "number",
                  "description": "Suggested EIP-1559 max fee per gas (gwei)."
                },
                "maxPriorityFeePerGas": {
                  "type": "number",
                  "description": "Suggested EIP-1559 max priority fee (tip) per gas (gwei)."
                }
              },
              "additionalProperties": true
            },
            "description": "Five confidence-tier fee estimates on the real call observed (99/95/90/80/70)."
          },
          "blockNumber": {
            "type": "number",
            "description": "The most recent mined block this estimate is based on."
          },
          "baseFeePerGas": {
            "type": "number",
            "description": "The base fee (gwei) of `blockNumber`."
          },
          "pendingBlockNumber": {
            "type": "number",
            "description": "The next (not-yet-mined) block number."
          },
          "currentBaseFeePerGas": {
            "type": "number",
            "description": "The base fee (gwei) expected for `pendingBlockNumber`."
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per chain covered -- Ethereum mainnet only on the real call observed."
    }
  },
  "description": "The gas-oracle record.",
  "additionalProperties": true
}