Websocket connection
TonCut for Automation is a Websocket server. So, what you need is just connect to it and maintain the connection.
When connecting just make sure you are using correct protocol (ws:
or wss:
), hostname/IP and port number. For development purposes you will probably use ws://localhost:8080, which is the default.
In the next sections you can read more about commands and events used by the API.
SECURITY
The Websocket API does not have any authorization mechanisms, so you should take care of it yourself to ensure that access to the API is properly secured.
EXAMPLES
Check out the examples we have prepared. You can find them in the directory where TonCut for Automation was installed, in the Examples subdirectory. There you will find sample code for different programming languages.