query-token-audit by binance/binance-skills-hub
npx skills add https://github.com/binance/binance-skills-hub --skill query-token-audit| API | 功能 | 使用场景 |
|---|---|---|
| 代币安全审计 | 代币安全扫描 | 检测蜜罐、拉地毯骗局、诈骗、恶意功能 |
| 链名称 | chainId |
|---|---|
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
| Ethereum | 1 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
URL :
https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit
请求参数 :
| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
| binanceChainId | string | 是 | 链 ID: CT_501 (Solana), 56 (BSC), 8453 (Base), 1 (Ethereum) |
| contractAddress | string | 是 | 代币合约地址 |
| requestId | string | 是 | 唯一请求 ID (UUID v4 格式) |
请求头 :
Content-Type: application/json
Accept-Encoding: identity
User-Agent: binance-web3/1.4 (Skill)
请求示例 :
curl --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' \
--header 'User-Agent: binance-web3/1.4 (Skill)' \
--data '{
"binanceChainId": "56",
"contractAddress": "0x55d398326f99059ff775485246999027b3197955",
"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 | 风险等级: LOW, MEDIUM, HIGH |
| riskLevel | number | 风险等级数字 (1-5) |
| extraInfo.buyTax | string | 买入税百分比 (未知则为 null) |
| extraInfo.sellTax | string | 卖出税百分比 (未知则为 null) |
| extraInfo.isVerified | boolean | 合约代码是否已验证 |
| riskItems[].id | string | 风险类别: CONTRACT_RISK, TRADE_RISK, SCAM_RISK |
| riskItems[].details[].title | string | 风险检查标题 |
| riskItems[].details[].description | string | 风险检查描述 |
| riskItems[].details[].isHit | boolean | true = 检测到风险 |
| riskItems[].details[].riskType | string | RISK (严重) 或 CAUTION (警告) |
风险等级参考 :
| riskLevel | riskLevelEnum | 操作建议 | 描述 |
|---|---|---|---|
| 0-1 | LOW | 谨慎进行 | 检测到较低风险,但不保证安全。请自行研究。 |
| 2-3 | MEDIUM | 保持谨慎 | 检测到中等风险,请仔细审查风险项 |
| 4 | HIGH | 避免交易 | 检测到严重风险,高概率亏损 |
| 5 | HIGH | 阻止交易 | 确认存在严重风险,切勿继续 |
重要提示 : LOW 风险不意味着"安全"。审计结果是时间点快照。项目团队可能在购买后修改合约或限制流动性。这些风险无法提前预测。
结果有效性 :
审计结果仅在同时满足以下两个条件时有效:
hasResult: true — 审计数据可用isSupported: true — 代币支持审计当无效时,不要显示风险等级或安全检查。
包含 User-Agent 头,使用以下字符串:binance-web3/1.4 (Skill)
hasResult: true 且 isSupported: true 时有效riskLevel: 5 表示应阻止交易;riskLevel: 4 为高风险⚠️ 此审计结果仅供参考,不构成投资建议。请务必自行研究。每周安装次数
517
仓库
GitHub 星标数
386
首次出现
9 天前
安全审计
安装于
codex499
opencode498
gemini-cli497
github-copilot497
amp497
cursor497
| API | Function | Use Case |
|---|---|---|
| Token Security Audit | Token security scan | Detect honeypot, rug pull, scam, malicious functions |
| Chain Name | chainId |
|---|---|
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
| Ethereum | 1 |
URL :
https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit
Request Parameters :
| Parameter | Type | Required | Description |
|---|---|---|---|
| binanceChainId | string | Yes | Chain ID: CT_501 (Solana), 56 (BSC), 8453 (Base), 1 (Ethereum) |
| contractAddress | string | Yes | Token contract address |
| requestId | string | Yes | Unique request ID (UUID v4 format) |
Request Headers :
Content-Type: application/json
Accept-Encoding: identity
User-Agent: binance-web3/1.4 (Skill)
Example Request :
curl --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' \
--header 'User-Agent: binance-web3/1.4 (Skill)' \
--data '{
"binanceChainId": "56",
"contractAddress": "0x55d398326f99059ff775485246999027b3197955",
"requestId": "'$(uuidgen)'"
}'
Response Example :
{
"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
}
Response Fields :
| Field | Type | Description |
|---|---|---|
| hasResult | boolean | Whether audit data is available |
| isSupported | boolean | Whether the token is supported for audit |
| riskLevelEnum | string | Risk level: LOW, MEDIUM, HIGH |
| 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 |
Risk Level Reference :
| 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 | HIGH | Block transaction | Severe risks confirmed, do NOT proceed |
IMPORTANT : LOW risk does NOT mean "safe." Audit results are point-in-time snapshots. Project teams can modify contracts or restrict liquidity after purchase. These risks cannot be predicted in advance.
Result Validity :
Audit results are ONLY valid when both conditions are met:
hasResult: true — Audit data is availableisSupported: true — Token is supported for auditWhen invalid, do NOT display risk level or security checks.
Include User-Agent header with the following string: binance-web3/1.4 (Skill)
hasResult: true AND isSupported: trueriskLevel: 5 means transaction should be blocked; riskLevel: 4 is high risk⚠️ This audit result is for reference only and does not constitute investment advice. Always conduct your own research.Weekly Installs
517
Repository
GitHub Stars
386
First Seen
9 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex499
opencode498
gemini-cli497
github-copilot497
amp497
cursor497
97,600 周安装
| boolean |
| Whether contract code is verified |
| riskItems[].id | string | Risk category: CONTRACT_RISK, TRADE_RISK, SCAM_RISK |
| 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 | RISK (critical) or CAUTION (warning) |