G
G
Go+ Security API
Search…
⌃K

Approval Security API v1

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, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114)
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".
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.
Specific Malicious Behavior
malicious_behavior:[]
It describes specific malicious behaviors. "honeypot_related_address" means that the address is related to honeypot tokens or has created scam tokens. "phishing_activities" means that this address has implemented phishing activities. "blackmail_activities" means that this address has implemented blackmail activities. "stealing_attack" means that this address has implemented stealing attacks. "fake_kyc" means that this address is involved in fake KYC. "malicious_mining_activities" means that this address is involved in malicious mining activities. "darkweb_transactions" means that this address is involved in darkweb transactions. "cybercrime" means that this address is involved in cybercrime. "money_laundering" means that this address is involved in money laundering. "financial_crime" means that this address is involved in financial crime. “blacklist_doubt” means that the address is suspected of malicious behavior and is therefore blacklisted.
Returning an empty array means that no malicious behavior was found at that address.

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,
"trust_list": 1,
"doubt_list": 0,
"malicious_behavior":["phishing_activities"]
}
}

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