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
There would be many subsequent calls if we need to fetch eash task after getting a list. The listTasks() endpoint should already return the most important data for each task.
According to the below design we would at least need to return Id, creator(SmartAccountAddress), startAt, expiredAt and status fields.
No need to return the eoa wallet address as owner, since we can find it out at the applicate level. Let’s return the direct owner, which is the smart wallet address.
@v9n, for simplicity I suggest we return the entire task data in listTasks for now, and trim the response later, when request load increases.
There would be many subsequent calls if we need to fetch eash task after getting a list. The listTasks() endpoint should already return the most important data for each task.
Task Definition:
https://github.com/AvaProtocol/ava-sdk-js/blob/main/src/task.ts
The text was updated successfully, but these errors were encountered: