Home > @lukso/data-provider-sense > SenseUploader
SenseUploader class for uploading files to the Sense Protocol on Pastel Network.
Signature:
declare class SenseUploader extends BaseFormDataUploader
Extends: BaseFormDataUploader
Constructor | Modifiers | Description |
---|---|---|
(constructor)(apiKey) | Constructs a new instance of the SenseUploader class |
Method | Modifiers | Description |
---|---|---|
getEndpoint() | Return standard Sense protocol endpoint supported for all JWT and API keys. | |
getGatewayUrl() | Return the endpoint to be used for the upload. | |
retrieveTxId(result_id) | Check status of sense activation transaction at Pastel Network | |
uploadFolderToSense(folder, _meta) | Uploads images of folder to Sense Protocol and return result ids and ipfs links. | |
uploadToSense(data, _meta) | Uploads file to Sense Protocol and return result id and ipfs link. |