Find active Filecoin sectors missing from a provider's local inventory
Restoring an inventory database can leave sectors actively proved onchain without a matching local tracking record. Enumerate the provider's active sectors to locate omissions.
Extract stable inventory keys
Run the query on a provider of manageable size or allow for a large result. Extract provider and SectorNumber for every row and retain its SealedCID. Compare the resulting set with the restored local inventory at the same observation time.
{"jsonrpc":"2.0","id":1,"method":"Filecoin.StateMinerActiveSectors","params":["f01234",[]]}
Investigate the asymmetric difference
An onchain active sector absent locally deserves a search of storage paths and worker metadata. An extra local row may describe sealing, faulty or retired data outside the active set. Preserve its lifecycle evidence before making cleanup decisions. Active enumeration is not a full list of historical sector numbers.