Skip to main content
Glama

iota_move_publish_unsigned

Generate unsigned Move package publish transactions for agent wallet signing to deploy smart contracts on the IOTA blockchain.

Instructions

Generate an unsigned publish transaction for a Move package (for agent wallet signing)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to Move package directory
gas_budgetNoGas budget in NANOS (default: 500000000)

Implementation Reference

  • The `iota_move_publish_unsigned` tool handler implementation, which calls `iota client publish` with the `--serialize-unsigned-transaction` flag.
      "iota_move_publish_unsigned",
      "Generate an unsigned publish transaction for a Move package (for agent wallet signing)",
      {
        path: z.string().optional().describe("Path to Move package directory"),
        gas_budget: z.string().optional().describe("Gas budget in NANOS (default: 500000000)"),
      },
      async ({ path, gas_budget }) => {
        const budget = gas_budget || "500000000";
        return text(
          await run(
            `iota client publish --gas-budget ${budget} --serialize-unsigned-transaction`,
            path || undefined
          )
        );
      }
    );

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