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.
Create a thread.
The ID of AINFT object.
The ID of AINFT token.
The parameters to create thread.
A promise that resolves with both the transaction result and the created thread.
Deletes a thread.
The ID of AINFT object.
The ID of AINFT token.
The ID of thread.
A promise that resolves with both the transaction result and the deleted thread.
Retrieves a thread.
The ID of AINFT object.
The ID of AINFT token.
The ID of thread.
The checksum address of account.
A promise that resolves with the thread.
Retrieves a list of threads.
The ID(s) of AINFT object.
The parameters for querying items.
A promise that resolves with the list of threads.
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 a thread.
The ID of AINFT object.
The ID of AINFT token.
The ID of thread.
The parameters to update thread.
A promise that resolves with both the transaction result and the updated thread.
Generated using TypeDoc
This class supports create threads that assistant can interact with.
Do not create it directly; Get it from AinftJs instance.