Loading...
Loading...
Compare original and translation side by side
| API | Function | Use Case |
|---|---|---|
| Token Security Audit | Token security scan | Detect honeypot, rug pull, scam, malicious functions |
| API | 功能 | 使用场景 |
|---|---|---|
| 代币安全审计 | 代币安全扫描 | 检测蜜罐、rug pull、骗局、恶意功能 |
| Chain Name | chainId |
|---|---|
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
| Ethereum | 1 |
| 公链名称 | chainId |
|---|---|
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
| Ethereum | 1 |
https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit| Parameter | Type | Required | Description |
|---|---|---|---|
| binanceChainId | string | Yes | Chain ID: |
| contractAddress | string | Yes | Token contract address |
| requestId | string | Yes | Unique request ID (UUID v4 format) |
Content-Type: application/json
Accept-Encoding: identitycurl --location 'https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit' \
--header 'Content-Type: application/json' \
--header 'source: agent' \
--header 'Accept-Encoding: identity' \
--data '{
"binanceChainId": "56",
"contractAddress": "0xe6df05ce8c8301223373cf5b969afcb1498c5528",
"requestId": "'$(uuidgen)'"
}'{
"code": "000000",
"data": {
"requestId": "d6727c70-de6c-4fad-b1d7-c05422d5f26b",
"hasResult": true,
"isSupported": true,
"riskLevelEnum": "LOW",
"riskLevel": 1,
"extraInfo": {
"buyTax": "0",
"sellTax": "0",
"isVerified": true
},
"riskItems": [
{
"id": "CONTRACT_RISK",
"name": "Contract Risk",
"details": [
{
"title": "Honeypot Risk Not Found",
"description": "A honeypot is a token that can be bought but not sold",
"isHit": false,
"riskType": "RISK"
}
]
}
]
},
"success": true
}| Field | Type | Description |
|---|---|---|
| hasResult | boolean | Whether audit data is available |
| isSupported | boolean | Whether the token is supported for audit |
| riskLevelEnum | string | Risk level: |
| riskLevel | number | Risk level number (1-5) |
| extraInfo.buyTax | string | Buy tax percentage (null if unknown) |
| extraInfo.sellTax | string | Sell tax percentage (null if unknown) |
| extraInfo.isVerified | boolean | Whether contract code is verified |
| riskItems[].id | string | Risk category: |
| riskItems[].details[].title | string | Risk check title |
| riskItems[].details[].description | string | Risk check description |
| riskItems[].details[].isHit | boolean | true = risk detected |
| riskItems[].details[].riskType | string | |
| riskLevel | riskLevelEnum | Action | Description |
|---|---|---|---|
| 0-1 | LOW | Proceed with caution | Lower risk detected, but NOT guaranteed safe. DYOR. |
| 2-3 | MEDIUM | Exercise caution | Moderate risks detected, review risk items carefully |
| 4 | HIGH | Avoid trading | Critical risks detected, high probability of loss |
| 5 | BLOCKED | Block transaction | Severe risks confirmed, do NOT proceed |
hasResult: trueisSupported: truehttps://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| binanceChainId | string | 是 | 链ID: |
| contractAddress | string | 是 | 代币合约地址 |
| requestId | string | 是 | 唯一请求ID(UUID v4格式) |
Content-Type: application/json
Accept-Encoding: identitycurl --location 'https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit' \
--header 'Content-Type: application/json' \
--header 'source: agent' \
--header 'Accept-Encoding: identity' \
--data '{
"binanceChainId": "56",
"contractAddress": "0xe6df05ce8c8301223373cf5b969afcb1498c5528",
"requestId": "'$(uuidgen)'"
}'{
"code": "000000",
"data": {
"requestId": "d6727c70-de6c-4fad-b1d7-c05422d5f26b",
"hasResult": true,
"isSupported": true,
"riskLevelEnum": "LOW",
"riskLevel": 1,
"extraInfo": {
"buyTax": "0",
"sellTax": "0",
"isVerified": true
},
"riskItems": [
{
"id": "CONTRACT_RISK",
"name": "Contract Risk",
"details": [
{
"title": "Honeypot Risk Not Found",
"description": "A honeypot is a token that can be bought but not sold",
"isHit": false,
"riskType": "RISK"
}
]
}
]
},
"success": true
}| 字段名 | 类型 | 说明 |
|---|---|---|
| hasResult | boolean | 是否有可用的审计数据 |
| isSupported | boolean | 该代币是否支持审计 |
| riskLevelEnum | string | 风险等级: |
| riskLevel | number | 风险等级数值(1-5) |
| extraInfo.buyTax | string | 买税百分比(未知则为null) |
| extraInfo.sellTax | string | 卖税百分比(未知则为null) |
| extraInfo.isVerified | boolean | 合约代码是否已验证 |
| riskItems[].id | string | 风险分类: |
| riskItems[].details[].title | string | 风险检查项标题 |
| riskItems[].details[].description | string | 风险检查项说明 |
| riskItems[].details[].isHit | boolean | true = 检测到风险 |
| riskItems[].details[].riskType | string | |
| riskLevel | riskLevelEnum | 建议操作 | 说明 |
|---|---|---|---|
| 0-1 | LOW | 谨慎操作 | 检测到较低风险,但不保证绝对安全。DYOR。 |
| 2-3 | MEDIUM | 提高警惕 | 检测到中等风险,请仔细查看风险项 |
| 4 | HIGH | 避免交易 | 检测到严重风险,损失概率极高 |
| 5 | BLOCKED | 阻断交易 | 已确认存在极高风险,请勿进行操作 |
hasResult: trueisSupported: truehasResult: trueisSupported: trueriskLevel: 5riskLevel: 4⚠️ This audit result is for reference only and does not constitute investment advice. Always conduct your own research.hasResult: trueisSupported: trueriskLevel: 5riskLevel: 4⚠️ 本审计结果仅供参考,不构成投资建议。请务必自行做好研究。