# UploadTask

Defined in: [packages/synapse-sdk/src/types.ts:94](https://github.com/FilOzone/synapse-sdk/blob/84fbb1046e164ad556ca1e641075796aca9db441/packages/synapse-sdk/src/types.ts#L94)

Upload task tracking

## Properties

### done()

```ts
done: () => Promise<string>;
```

Defined in: [packages/synapse-sdk/src/types.ts:100](https://github.com/FilOzone/synapse-sdk/blob/84fbb1046e164ad556ca1e641075796aca9db441/packages/synapse-sdk/src/types.ts#L100)

Wait for the entire upload process to complete, returns transaction hash

#### Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`string`\>

***

### pieceCid()

```ts
pieceCid: () => Promise<PieceLink>;
```

Defined in: [packages/synapse-sdk/src/types.ts:96](https://github.com/FilOzone/synapse-sdk/blob/84fbb1046e164ad556ca1e641075796aca9db441/packages/synapse-sdk/src/types.ts#L96)

Get the PieceCID (Piece CID) once calculated

#### Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`PieceLink`\>

***

### store()

```ts
store: () => Promise<string>;
```

Defined in: [packages/synapse-sdk/src/types.ts:98](https://github.com/FilOzone/synapse-sdk/blob/84fbb1046e164ad556ca1e641075796aca9db441/packages/synapse-sdk/src/types.ts#L98)

Get the service provider once data is stored

#### Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`string`\>