Skip to main content
Glama

iota_transaction

Fetch transaction details by digest to verify IOTA blockchain operations, enabling on-chain querying for wallet management and transaction verification.

Instructions

Fetch transaction details by digest

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
digestYesTransaction digest

Implementation Reference

  • The handler and registration for 'iota_transaction' MCP tool, which fetches transaction details using the 'iota_getTransactionBlock' RPC method.
    server.tool(
      "iota_transaction",
      "Fetch transaction details by digest",
      {
        digest: z.string().describe("Transaction digest"),
      },
      async ({ digest }) =>
        text(
          await rpc("iota_getTransactionBlock", [
            digest,
            { showInput: true, showEffects: true, showEvents: true },
          ])
        )
    );

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