T402 API Reference - v2.8.0
    Preparing search index...

    Interface ToolContext

    Tool execution context

    interface ToolContext {
        config: McpServerConfig;
        getWalletClient: (network: SupportedNetwork) => Promise<unknown>;
        getPublicClient: (network: SupportedNetwork) => Promise<unknown>;
    }
    Index

    Properties

    Server configuration

    getWalletClient: (network: SupportedNetwork) => Promise<unknown>

    Get wallet client for a network

    getPublicClient: (network: SupportedNetwork) => Promise<unknown>

    Get public client for a network