omnia_checkPhishingSite

Returns security details indicating whether the given url is a phishing site or not.

Note: This is a chain-agnostic method.

Parameters

STRING - url. The url of the website that is checked. REQUIRED

Returns

Object with following details:

Example

Request

curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "omnia_checkphishingsite",
    "params": [
        {
            "url": "https://www.c0inbase.com" // notice the '0' instead of 'o' in the domain name
        }
    ]
}
'

Response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "website_contract_security": [],
        "phishing_site": 1
    }
}

Last updated