filecoin-pin
    Preparing search index...

    Interface ListDataSetsOptions

    Options for listing datasets

    interface ListDataSetsOptions {
        address?: string;
        filter?: (dataSet: EnhancedDataSetInfo) => boolean;
        logger?: Logger;
        withProviderDetails?: boolean;
    }
    Index

    Properties

    address?: string

    Address to list datasets for (defaults to synapse client address)

    filter?: (dataSet: EnhancedDataSetInfo) => boolean

    Filter function to apply to the data sets before additional processing

    Note: The filter receives raw EnhancedDataSetInfo objects from the SDK (with pdpVerifierDataSetId field) before transformation to DataSetSummary

    Type Declaration

      • (dataSet: EnhancedDataSetInfo): boolean
      • Parameters

        • dataSet: EnhancedDataSetInfo

          Raw dataset from SDK storage.findDataSets()

        Returns boolean

        true to include the dataset, false to exclude it

    logger?: Logger

    Logger instance for debugging (optional)

    withProviderDetails?: boolean

    Whether to get the provider details from the SP registry

    false