Skip to content
Eden Engine

Daily DeFi Fees History on One Chain (Fees)

omnial/chain-daily-fees-history

For one blockchain, returns the daily history of fees across the DeFi protocols the source tracks on that chain: one row per day, oldest first, with the date as a Unix timestamp in seconds at 00:00 UTC and the fees in US dollars. The metric is fixed to fees. A few days can be missing from the series.

activeper callv1

Price

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

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

DefiLlama

Data from DefiLlama.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/chain-daily-fees-history" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/chain-daily-fees-history" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/chain-daily-fees-history", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/chain-daily-fees-history", 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.001
Updated
Oct 17, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "metric",
    "chain"
  ],
  "properties": {
    "chain": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9._~:@!$&'()*+,;=-]+$",
      "minLength": 1,
      "description": "The blockchain's display name, spelled and capitalised as the source lists it."
    },
    "metric": {
      "enum": [
        "fees"
      ],
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9._~:@!$&'()*+,;=-]+$",
      "description": "The metric to chart. Only the fees metric (fees) is offered."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "number",
            "description": "The day, as a Unix timestamp in seconds at 00:00 UTC."
          },
          "fees": {
            "type": "number",
            "description": "The day's fees across the tracked protocols on the chain, in US dollars."
          }
        }
      }
    }
  },
  "description": "The daily series, one row per day, oldest first. Amounts are US dollars."
}