The Ain object for sign and send transaction to AIN blockchain.
The Ainize object for send request to AIN blockchain.
The base url of api server of AINFT Factory.
The subpath of api server request url.
Adds an activity that matches the event.
The parameters to add event activity.
Returns activity ID.
Creates a new event. Sets the tasks to be performed and the rewards to receive.
The parameters to create event.
Deletes an event.
The ID of app.
The ID of event.
Gets event.
The ID of app.
The ID of event.
Returns event information.
Gets activity information.
The parameters to get event activity.
Returns activity object or null.
Returns list of user's activity.
The ID of app.
The ID of the user who wants to check the activity history.
The ID of the event you want to check activity history.
Return user's pending reward from event.
The ID of app.
The ID of the user who wants to check pending rewards.
The ID of event to check pending rewards.
Returns list of user's reward history.
The ID of app.
The ID of the user who wants to check reward history.
The ID of event to check reward history.
Returns a list of RewardTypes to use for events.
The ID of app.
Returns a list of TaskTypes to use for events.
The ID of app.
Provides event rewards to users.
The ID of app.
The ID of user to be rewarded.
The ID of the event that the user participated in.
The options of reward.
Sends request that include form to api server of AINFT Factory. Used to upload asset data.
The method of Http request.
The suffix of request url.
The string fields of form.
The file fields of form.
Returns response of api request.
Sends request to api server of AINFT Factory. Authenticate by signing data.
The method of Http request.
The suffix of request url.
The data to be included in the api request.
Returns response of api request.
Sends request to api server of AINFT Factory. Used when authentication is not required.
The method of Http request.
The suffix of request url.
The data to be included in the api request.
The headers of Http api request.
Returns response of api request.
Sets base url.
New base url to be set to base url of api server of AINFT Factory.
Sign the data with the private key that the user has registered.
The data to sign.
Returns signature string.
Updates an event.
The parameters to update event.
Updates the activity's status. Activity status includes CREATED, REWARDED, and FAILED.
The parameters to update activity status
Generated using TypeDoc
This class supports event functionality for activating tokenomics in the community.
Do not create it directly; Get it from AinftJs instance.