Skip to main content
Glama

iota_object

Fetch on-chain object data from the IOTA blockchain by ID to retrieve owner, type, version, and content details for analysis or verification.

Instructions

Fetch on-chain object data by ID. Returns owner, type, version, and content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_idYesIOTA object ID (0x...)

Implementation Reference

  • Handler implementation for the 'iota_object' tool, which calls the 'iota_getObject' RPC method to retrieve object details.
    server.tool(
      "iota_object",
      "Fetch on-chain object data by ID. Returns owner, type, version, and content.",
      {
        object_id: z.string().describe("IOTA object ID (0x...)"),
      },
      async ({ object_id }) =>
        text(
          await rpc("iota_getObject", [
            object_id,
            { showContent: true, showOwner: true, showType: 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