Skip to main content
The 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 blocklist

Supported Asset Types

URL

Web URLs and domainshttps://example.com

PAGE

Specific web pages https://site.com/login

ADDRESS

Crypto addresses0x1234...abcd

Status Types

The asset has been identified as malicious or suspicious and should be blocked.
The asset has been verified as safe and can be trusted.
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 instead
Performance Considerations - Cache results when possible to reduce API calls - Implement exponential backoff for failed requests - Consider using asset.list for bulk checking scenarios

asset.submit

Submit assets for threat classification

asset.list

Retrieve lists of assets with filtering

Additional Documentation