Skip to main content
Glama

iota_epoch_info

Retrieve current epoch details, checkpoint data, and network statistics for the IOTA blockchain to monitor network status and track consensus progress.

Instructions

Get current epoch, checkpoint, and network statistics via GraphQL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the 'iota_epoch_info' tool in src/index.ts. It executes a GraphQL query to fetch epoch and checkpoint information.
    server.tool(
      "iota_epoch_info",
      "Get current epoch, checkpoint, and network statistics via GraphQL",
      {},
      async () =>
        text(
          await gql(`{
            epoch {
              epochId
              startTimestamp
              endTimestamp
              referenceGasPrice
            }
            checkpoint {
              sequenceNumber
              timestamp
            }
          }`)
        )
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Scottcjn/iota-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server