# createDataSet

```ts
function createDataSet(client, options): Promise<{
  statusUrl: string;
  txHash: `0x${string}`;
}>;
```

Defined in: [packages/synapse-core/src/warm-storage/data-sets.ts:236](https://github.com/FilOzone/synapse-sdk/blob/ebfd64582270197fd5360682eff90a0b8d418d29/packages/synapse-core/src/warm-storage/data-sets.ts#L236)

Create a data set

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `client` | `Client`\<`Transport`, `Chain`, `Account`\> | The client to use to create the data set. |
| `options` | [`CreateDataSetOptions`](/reference/filoz/synapse-core/warm-storage/type-aliases/createdatasetoptions/) | The options for the create data set. |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<\{
  `statusUrl`: `string`;
  `txHash`: `` `0x${string}` ``;
\}\>

The response from the create data set on PDP API.