Choose the sector expiry epoch for a Filecoin renewal alert
The expiration in a sector's general metadata can be inaccurate in some cases. Lotus exposes an expiration-specific query for maintenance scheduling.
Read both expiration entries
Query the provider and sector under review. Capture the returned OnTime and Early epochs with the tipset used for the lookup. The two fields refer to the sector's scheduled and early expiration entries.
{"jsonrpc":"2.0","id":1,"method":"Filecoin.StateSectorExpiration","params":["f01234",9001,[]]}
Trigger a review at the earlier applicable risk
If an early expiration is populated before the ordinary schedule, investigate sector faults and recovery before assuming the longer lifetime. Keep an absent or zero early epoch out of a calendar queue. Recheck after a recovery or extension because a previous snapshot can describe an outdated schedule.
docs.filecoin.io StateSectorExpiration · docs.filecoin.io StateSectorGetInfo