
API
The web API acts as an interface between the Otim App and the rest of the system. While users can view account activity, craft new Instructions, and sign messages entirely in the App, some operations require access to Otim’s backend system. The API allows the App to read user data from the database and request the Executor to interact with the Otim protocol. Check out all API endpoints in the API Reference.Executor
The Executor is an off-chain agent designed to execute Instructions as soon as their conditions are valid on-chain. All conditions that need to be met for an Instruction to successfully execute on-chain are strictly defined in the Otim protocol. This means that if the Executor submits an Instruction too early, the transaction will simply revert. The Executor’s incentives are clear:- Don’t waste gas trying to submit invalid Instructions
- Do execute Instructions when they become valid in order to collect a fee