LocationConfidenceOptions
@totemsdk/location-proof / LocationConfidenceOptions
Interface: LocationConfidenceOptions
Properties
accuracyThresholdM?
optionalaccuracyThresholdM?:number
accuracyM at or below this value is considered strong (default 10m)
maxAgeMs?
optionalmaxAgeMs?:number
a claim older than maxAgeMs is considered stale (default 300_000)
now?
optionalnow?:number
explicit "now" timestamp for deterministic scoring (default Date.now())
strongHdop?
optionalstrongHdop?:number
HDOP at or below this value is considered low (default 2)
strongSatellites?
optionalstrongSatellites?:number
satellite count at or above this value is considered strong (default 8)
weakAccuracyThresholdM?
optionalweakAccuracyThresholdM?:number
accuracyM above this value is considered weak (default 3x accuracyThresholdM)