Starton connects to a Nagent workspace with an API key. Once it is connected, agents can call 6 Starton actions, such as "Get Smart Contracts", "Get Templates" and "Get Watcher". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Starton, with input parameters and output schema.
STARTON_DELETE_SMART_CONTRACT_EVENTTool to delete a specific smart contract event watcher by its ID. Use after confirming the watcher ID you want to remove.
Input parameters
Unique identifier of the smart contract event watcher to delete
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STARTON_GET_SMART_CONTRACTSTool to retrieve a list of all smart contracts associated with your project. Use after authenticating and optionally filtering by project ID.
Input parameters
Filter smart contracts by project ID
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STARTON_GET_TEMPLATESTool to retrieve a list of all smart contract templates. Use when browsing the Starton template library to select a template before deployment.
Input parameters
Page number to retrieve (default: 1).
Number of results per page (default: 100).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STARTON_GET_WATCHERTool to retrieve details of a specific watcher by its ID. Use when you need to confirm its configuration before updating or deleting.
Input parameters
Unique identifier of the watcher to retrieve
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STARTON_GET_WEBHOOKSTool to retrieve a list of all webhook watchers. Use after creating watchers to review existing watchers.
Input parameters
Page number to retrieve.
Number of items per page.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
STARTON_UPLOAD_FILETool to upload a file to your project's IPFS storage. Use after preparing the file you want to host on IPFS.
Input parameters
File to upload to IPFS storage.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 6 Starton actions on Nagent, including "Get Smart Contracts", "Get Templates" and "Get Watcher". Get Smart Contracts: Retrieve a list of all smart contracts associated with your project. Each action is listed on this page with its input parameters and its output.
Starton connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It also takes 1 optional input: projectId. It returns data, error and successful.