Skip to content

getDataSet

function getDataSet(client, options): Promise<DataSet>;

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

Get a data set by ID

ParameterTypeDescription
clientClient<Transport, Chain>The client to use to get the data set.
optionsGetDataSetOptionsThe options for the get data set.

Promise<DataSet>

The data set

  • DataSetNotFoundError if the data set is not found.