Skip to content
Eden Engine

Filecoin Tipset by Height

filecoinrpc/tipset-by-height

One Filecoin tipset by height (epoch): the CIDs of its block headers, the miner of each block, time and base fee in attoFIL (exact string). A height with no blocks (a null round) returns the next tipset that has some. Only about two weeks of mainnet (one day of Calibration) are held: older heights are refused. Read from public Filecoin Lotus nodes that offer no SLA and can be slow or throttled; they keep only about two weeks of mainnet history (one day on Calibration) and are run by one operator. Served by Eden Engine; not an official product of Filecoin, Protocol Labs or any node operator.

activeper callv1

Price

$0.0026 per call

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 $0.50.

Data source

Public blockchains

On-chain data read from public Filecoin Lotus nodes; no licence or credit is required. Served by Eden Engine; not an official product of Filecoin, Protocol Labs or any node operator.

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: "filecoinrpc/tipset-by-height" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "filecoinrpc/tipset-by-height" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "filecoinrpc/tipset-by-height", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "filecoinrpc/tipset-by-height", 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.0026
Updated
Oct 28, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "network",
    "height"
  ],
  "properties": {
    "height": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0,
      "description": "The epoch. Mainnet keeps about 336 hours (roughly 40,000 epochs), Calibration about 24 hours; older heights are refused."
    },
    "network": {
      "enum": [
        "mainnet",
        "calibration"
      ],
      "type": "string",
      "description": "The network to read: mainnet (Filecoin mainnet), calibration (Filecoin Calibration testnet). Required; there is no default, so a call never reads the wrong chain silently."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "found"
  ],
  "properties": {
    "found": {
      "type": "boolean",
      "description": "False when the node has no such item; then no other field is present."
    },
    "blocks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "cid": {
            "type": "string"
          },
          "miner": {
            "type": "string"
          },
          "timestamp": {
            "type": [
              "string",
              "null"
            ]
          },
          "win_count": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "height": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The epoch (one every 30 seconds)."
    },
    "timestamp": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 8601 UTC time of the tipset."
    },
    "tipset_key": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The CIDs of the block headers that make up the tipset."
    },
    "block_count": {
      "type": "integer"
    },
    "parent_base_fee_attofil": {
      "type": [
        "string",
        "null"
      ],
      "description": "Base fee in attoFIL per gas unit (1 FIL = 10^18 attoFIL), an exact decimal string."
    }
  },
  "description": "A tipset summary.",
  "additionalProperties": true
}