ERC1155 NFT Approval Security API
METHOD:
GET
PATH PARAM:
Parameters | required | description |
---|---|---|
chain_id | True | Chain id, (eth:1, bsc:56 ) |
QUERY PARAM
Parameters | Required | Description |
---|---|---|
addresses | True | EOA address |
EXAMPLE:
Request Headers:
Parameters | Type | Required | Description |
---|---|---|---|
Authorization | String | False |
Security items | Parameter | Description | Notice |
Token Contract | nft_address | It describes the NFT contract address which is approved. | |
Chain | chain_id | The chain_id of the blockchain."1" means Ethereum; "56" means BSC. | |
NFT Name | nft_name | token_name | |
NFT Symbol | nft_symbol | token_symbol | |
Open Source | is_open_source | It describes whether this contract is open source. "1" means true; "0" means false. | Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items. |
The NFT verified | is_verified | It describes whether the NFT is verified. "1" means that the NFT is verified; "0" means that we did not find any information about whether the NFT is verified. | |
Malicious NFT
| malicious_address | It describes whether this token has performed malicious behaviors. "1" means true; "0" means false. | Malicious behaviors include random additions, blacklist abuse, falsified transactions, and other high-risk behaviors. Interacting with tokens flagged as Malicious may contain a high level of risk. |
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. |
Approved Contract | approved_contract | It describes the approved contract. | |
Initial Approval Time | initial_approval_time | It describes when is the first time owner approved allowance to the spender. The value is timestamp. | |
Initial Approval Hash | initial_approval_hash | It describes the initial approved allowance hash of the contract. | |
Latest Approved Time | approved_time | It describes the latest allowance changeing time of the contract. The value i | |
Latest Approved Hash | hash | It describes the latest allowance changeing hash of the contract. | |
Address Info | "address_info": {"contract_name": , "tag": , "is_contract": , "is_open_source": , "trust_list": , "doubt_list": , "malicious_behavior":[], "creator_address": "", "deployed_time": ,}
| It describes the approved contract info. The info includes: (1) "contract_name" describes the approved contract name. (2) "tag" describes which dApp uses the contract. Example: "tag": "Compound". (3) "is_contract" describes whether the address is a contract. "1" means true; "0" means false. (4) "is_open_source" describes whether this contract is open source. "1" means true; "0" means false. (5) "trust_list" 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. (6) "doubt_list" describes whether the address is a suspected malicious contract. "1" means true; "0" means that we have not found malicious behavior of this address. (7)"malicious_behavior" describes specific malicious behaviors. (8) "creator_address" describes the creator address of the contract. (9) "deployed_time" describes the deployed time of the contract. The value is presented as a timestamp. | When the address is not a contract ("is_contract"=0), "contract_name" , "creator_address", "deployed_time" will return "null".
When no malicious behavior was found at that address, "malicious_behavior" will return an empty array. |
{
"code": 1,
"message": "ok",
"result": [
{
"nft_address": "0x1c226595ff8fd09e9ea2f2e779338afc95d17c2e",
"chain_id": "1",
"nft_name": "xNFT1155",
"nft_symbol": "xNFT1155",
"is_open_source": 0,
"is_verified": 0,
"malicious_address": 0,
"malicious_behavior":["phishing_activities"],
"approved_list": [
{
"approved_contract": "0xa1f4ea3d0b36565cc11fe03fd6f86045e6593ca1",
"approved_time": 1631221666,
"hash": "0xd617f0a3019d58e8a97a03855050e019e8eac71af1f567c5b06733f3cf1fa708",
"address_info": {
"contract_name": null,
"tag": null,
"creator_address": "0x615759d8519dc77f7b2a42a90a9512cd015197a7",
"is_contract": 1,
"doubt_list": 0,
"malicious_behavior":[],
"deployed_time": 1631015480,
"trust_list": 0,
"is_open_source": 0
}
}
]
},
{
"nft_address": "0xd07dc4262bcdbf85190c01c996b4c06a461d2430",
"chain_id": "1",
"nft_name": "Rarible",
"nft_symbol": "RARI",
"is_open_source": 1,
"is_verified": 1,
"malicious_address": 0,
"malicious_behavior":[],
"approved_list": [
{
"approved_contract": "0x1e0049783f008a0085193e00003d00cd54003c71",
"approved_time": 1656622732,
"hash": "0xc59445405a9e2509153a1913adc75579c21882e73e3fb5484dba3881f88bcc43",
"address_info": {
"contract_name": null,
"tag": null,
"creator_address": "0x939c8d89ebc11fa45e576215e2353673ad0ba18a",
"is_contract": 1,
"doubt_list": 0,
"malicious_behavior":[],
"deployed_time": 1654994918,
"trust_list": 0,
"is_open_source": 0
}
}
]
}
]
}
Last modified 10d ago