local
: This mode uses a local database of scam URLs. Use this mode for offline threat detection and testing.cloud
: This mode uses ChainPatrol’s cloud service to detect scams.ThreatDetector
class with the mode
option set to local
.
ThreatDetector
class with the mode
option set to cloud
and provide your API key.