Skip to main content
Glama

iota_wallet_switch_network

Change the IOTA wallet's active blockchain network between mainnet, testnet, and devnet for different transaction environments.

Instructions

Switch between mainnet, testnet, and devnet

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkYesTarget network

Implementation Reference

  • The handler for iota_wallet_switch_network, which calls the wallet endpoint /switch-network.
    server.tool(
      "iota_wallet_switch_network",
      "Switch between mainnet, testnet, and devnet",
      {
        network: z.enum(["mainnet", "testnet", "devnet"]).describe("Target network"),
      },
      async ({ network }) => text(await wallet("/switch-network", "POST", { network }))
    );

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