Skip to content

useDataSets

useDataSets<IncludePieces>(props): UseQueryResult<UseDataSetsResult<IncludePieces>, Error>

Defined in: synapse-react/src/warm-storage/use-data-sets.ts:47

Get the data sets of an address, optionally with their pieces.

Type ParameterDefault type
IncludePieces extends booleantrue
ParameterTypeDescription
propsUseDataSetsProps<IncludePieces>The props to use. UseDataSetsProps

UseQueryResult<UseDataSetsResult<IncludePieces>, Error>

The data sets. UseDataSetsResult