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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:296-315 (handler)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 } }`) ) );