Skip to content

createDataSet

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

Defined in: packages/synapse-core/src/sp.ts:67

Create a data set on PDP API

POST /pdp/data-sets

ParameterTypeDescription
optionsPDPCreateDataSetOptionsThe options for the create data set on PDP API.

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

The response from the create data set on PDP API.