ThreatDetector
ThreatDetector Class Overview
The ThreatDetector class wraps ChainPatrol’s phishing and scam detection APIs with caching, storage adapters, and URL checks for security-conscious apps.
A ThreatDetector allows you to easily build out community safety features
in your wallet, dApp, or other security-conscious app. It is a smart wrapper around ChainPatrol’s APIs that allows you to
check if a website is a scam or not. It comes with a variety of storage adapters, so you can
easily cache the results of your checks and avoid making unnecessary API calls.