mcp-use TypeScript API
    Preparing search index...

    Function subscribeToRpcLogs

    • Subscribe to receive RPC log entries as they are published.

      Parameters

      • listener: (entry: RpcLogEntry) => void

        Function invoked with each new RpcLogEntry

      Returns () => void

      A function that unsubscribes the listener when called