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
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use to get the data set. |
options | GetDataSetOptions | The options for the get data set. |
Returns
Section titled “Returns”The data set
Throws
Section titled “Throws”- DataSetNotFoundError if the data set is not found.