omnia_checkRugPull

Returns security details indicating whether the token can generate a Rug pull event or not.

Note: A rug pull event means a massive sell-off of the token by the first holders, often time by it's creators.

Parameters

DATA, 20 Bytes - contractAddress. The contract address 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_checkrugpull",
    "params": [
        {
            "contractAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
        }
    ]
}
'

Response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "owner": {
            "owner_name": "owner",
            "owner_address": "0xc6cde7c39eb2f0f0095f41570af89efc2c1ea828",
            "owner_type": "contract"
        },
        "privilege_withdraw": 1,
        "withdraw_missing": -1,
        "is_open_source": 1,
        "blacklist": 1,
        "contract_name": "TetherToken",
        "selfdestruct": 1,
        "is_proxy": 0,
        "approval_abuse": 0
    }
}

Last updated