Home > @lukso/data-provider-sense > SenseUploader > uploadToSense
Uploads file to Sense Protocol and return result id and ipfs link.
Signature:
uploadToSense(data: any, _meta?: FormDataPostHeaders): Promise<any>;
Parameter | Type | Description |
---|---|---|
data | any | data to upload |
_meta | FormDataPostHeaders | (Optional) |
Returns:
Promise<any>
result id and ipfs URL of uploaded file