Only the domain portion of the URL is checked. The path and query string are
stripped before sending the request to the ChainPatrol API to preserve privacy
and prevent leaking sensitive information.
Example
Parameters
string
required
The URL to check. This can be a full URL or a domain. The URL will be
parsed to extract only the domain for checking.Ex.
https://google.com or google.comReturn Value
The return value is a promise that resolves with an object containing the result of the check.Success
If the check was successful, the object will contain the following properties:object
required
Failure
However, if the check was unsuccessful, the object will contain the following:object
required