CCC Docs
    Preparing search index...
    • Search on-chain spores under the specified lock or not, if cluster provided, filter spores belonging to this cluster

      Parameters

      • params: {
            client: Client;
            lock?: ScriptLike;
            clusterId?: BytesLike;
            scriptInfos?: SporeScriptInfoLike[];
            limit?: number;
            order?: "asc" | "desc";
        }
        • client: Client

          the client to search spores

        • Optionallock?: ScriptLike

          the lock of spores

        • OptionalclusterId?: BytesLike

          the cluster that spores belong to. "" to find public spores

        • OptionalscriptInfos?: SporeScriptInfoLike[]

          the deployed script infos of spores

        • Optionallimit?: number

          the limit of spores to search

        • Optionalorder?: "asc" | "desc"

          the order in creation time of spores

      Returns AsyncGenerator<
          {
              cell: Cell;
              spore: Cell;
              sporeData: SporeDataView;
              scriptInfo: SporeScriptInfo;
          },
      >

      specified spore cells