asset.check method allows you to check the current threat status of a single asset. This method is ideal for real-time protection and individual asset verification.
API Reference
Method Signature
Parameters
AssetCheckInput
required
The asset check request object containing the asset type and content.
Returns
enum<string>
required
The threat status of the asset.Possible values:
UNKNOWN, ALLOWED, BLOCKED.string
The reason why the asset was allowed or blocked (if applicable). ChainPatrol
aggregates data from multiple sources: -
eth-phishing-detect - Asset is on
MetaMask’s blocklist - reported - Asset was reported by users and added to
ChainPatrol’s blocklistSupported Asset Types
URL
Web URLs and domains
https://example.comPAGE
Specific web pages
https://site.com/loginADDRESS
Crypto addresses
0x1234...abcdStatus Types
BLOCKED
BLOCKED
The asset has been identified as malicious or suspicious and should be blocked.
ALLOWED
ALLOWED
The asset has been verified as safe and can be trusted.
UNKNOWN
UNKNOWN
The asset hasn’t been classified yet. Use your own discretion or additional verification.
Getting Started
Quick Start
Basic Usage Patterns
Implementation Guide
Real-time Protection
Browser Extension Integration
Batch Checking with Rate Limiting
Technical Details
Error Handling
Rate Limits & Performance
Rate Limits - Individual requests: Up to 10 requests per second -
Recommended for real-time checking - For bulk operations, use
asset.list
insteadRelated Resources
Related Methods
asset.submit
Submit assets for threat classification
asset.list
Retrieve lists of assets with filtering