You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an app developer, I'd like to quickly check if certain alert results are getting integrated properly with my app. For example, I'd like to see if alerts emitted on chain X are getting displayed correctly in the UI. However, to get the alert results I need, I have to find an agent that'll emit on chain X and wait for it to emit an alert. If the alerts I'm expecting is rare, and there are no agents on the network currently emitting the alert, I'd need to create/deploy an example agent to emit the alert I'm expecting.
Proposed Solution
To reduce the testing time, I'd like to be able to create a fake alert via an API endpoint that meets the criteria I'm testing for and query the fake alert.
For example, if I want a specific alert on the polygon network, I could create an alert just by specifying the polygon chainId in the payload. If I don't specify any other fields for the alert, I can expect the endpoint to fill the missing fields with default or generated fake values and add the new alert into a database that can be queried via the API.
POST /createAlert { "chainId": polygon_id }
The text was updated successfully, but these errors were encountered:
Problem
As an app developer, I'd like to quickly check if certain alert results are getting integrated properly with my app. For example, I'd like to see if alerts emitted on chain X are getting displayed correctly in the UI. However, to get the alert results I need, I have to find an agent that'll emit on chain X and wait for it to emit an alert. If the alerts I'm expecting is rare, and there are no agents on the network currently emitting the alert, I'd need to create/deploy an example agent to emit the alert I'm expecting.
Proposed Solution
To reduce the testing time, I'd like to be able to create a fake alert via an API endpoint that meets the criteria I'm testing for and query the fake alert.
For example, if I want a specific alert on the polygon network, I could create an alert just by specifying the polygon chainId in the payload. If I don't specify any other fields for the alert, I can expect the endpoint to fill the missing fields with default or generated fake values and add the new alert into a database that can be queried via the API.
The text was updated successfully, but these errors were encountered: