Skip to content

createDataSet

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

Defined in: packages/synapse-core/src/warm-storage/data-sets.ts:236

Create a data set

ParameterTypeDescription
clientClient<Transport, Chain, Account>The client to use to create the data set.
optionsCreateDataSetOptionsThe options for the create data set.

Promise<{ statusUrl: string; txHash: `0x${string}`; }>

The response from the create data set on PDP API.