omnia_checkDappSecurity
Returns security details of the web Dapp at the given url.
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_checkdappsecurity",
"params": [
{
"url": "https://app.uniswap.org/#/swap"
}
]
}
'
Response
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"project_name": "Uniswap",
"url": "https://app.uniswap.org/#/swap",
"is_audit": 1,
"trust_list": 1,
"audit_info": [
{
"audit_time": "2019.01.11",
"audit_link": "https://github.com/ConsenSys/Uniswap-audit-report-2018-12/blob/master/Uniswap-final.md",
"audit_firm": "ConsenSys"
}
],
"contracts_security": [
{
"chain_id": "1",
"contracts": [
{
"contract_address": "0xc0a47dfe034b400b47bdad5fecda2621de6c4d95",
"is_open_source": 1,
"creator_address": "0xd1c24f50d05946b3fabefbae3cd0a7e9938c63f2",
"malicious_contract": 0,
"deployment_time": 1541137042,
"malicious_creator": 0,
"malicious_creator_behavior": [],
"malicious_behavior": []
},
{
"contract_address": "0x077d52b047735976dfda76fef74d4d988ac25196",
"is_open_source": 1,
"creator_address": "0xb8dc24569eed78375c71808a865a8a013bd2cb7c",
"malicious_contract": 0,
"deployment_time": 1541935097,
"malicious_creator": 0,
"malicious_creator_behavior": [],
"malicious_behavior": []
},
{
"contract_address": "0x2e642b8d59b45a1d8c5aef716a84ff44ea665914",
"is_open_source": 1,
"creator_address": null,
"malicious_contract": 0,
"deployment_time": null,
"malicious_creator": 0,
"malicious_creator_behavior": [],
"malicious_behavior": []
}
...
]
}
]
}
}
Last updated