Approval Security API
get
https://api.gopluslabs.io/api/v1/address_security/{address}?chain_id=
Method: GET
PATH PARAM
Parameters
Type
Required
Description
chain_id
String
True
Chain id, (eth: 1, bsc: 56)
FORM PARAM
Parameters
Type
Required
Description
contract_addresses
String
True
Contract needs to be detected
Request Headers
Parameters
Type
Required
Description
Authorization
String
False
Carrying Token obtained through Get Access Token

Response Parameters

Security items
Parameter
Description
Notice
Contract Name
contract_name
It describes the approved contract name.
Contract Tag
tag
It describes which dapp uses the contract.Example:"tag": "Compound"
Contract or not
is_contract
It describes whether the address is a contract."1" means true;"0" means false.
Creator Address
creator_address
It describes the creator address of the contract.
When the address is not a contract ("is_contract"=0), it will return "null".
Deployed Time
deployed_time
It describes the deployed time of the contract.The value is presented as a timestamp.Example:"deployed_time": 1626578345
When the address is not a contract ("is_contract"=0), it will return "null".
Open Source
is_open_source
It describes whether this contract is open source."1" means true;"0" means false.
When the address is not a contract ("is_contract"=0), it will return "null".
Proxy Contract
is_proxy
It describes It describes whether this contract has a proxy contract."1" means true;"0" means false;
When the address is not a contract ("is_contract"=0), it will return "null".
Trust List
trust_list
It describes whether the address is a famous and trustworthy one."1" means true;"0" means that we have not included this address in the trusted list;
Return "0" does not mean the address is not trustworthy.Maybe we just haven't included it yet.
Suspected Malicious Contract
doubt_list
It describes whether the address is a suspected malicious contract."1" means true;"0" means that we have not found malicious behavior of this address.
Return "0" does not mean it is safe.Maybe we just haven't found its malicious behavior.

Sample Response

{
"code": 1,
"message": "ok",
"result": {
"contract_name": "TransparentUpgradeableProxy",
"tag": "ALPACA",
"is_contract": 1,
"creator_address": "0xc44f82b07ab3e691f826951a6e335e1bc1bb0b51",
"deployed_time": 1641541530,
"is_open_source": 1,
"is_proxy": 1,
"trust_list": 1,
"doubt_list": 0
}
}

Code

code
description
1
Complete data prepared
2
Partial data obtained. The complete data can be requested again in about 15 seconds.
2024
request limit reached
4023
not found your access token
5000
system error
4012
signature verification failure
2018
Main chain does not exist!
2020
non-contract address
2021
no info for this contract