Query Token Audit

作者 binance9960c675387b無授權條款1K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 週前更新

Query token security audit to detect scams, honeypots, and malicious contracts before trading. Returns comprehensive security analysis including contract risks, trading risks, and scam detection. Use when users ask "is this token safe?", "check token security", "audit token", or before any swap.

僅含說明Security
AI 產生的概覽

透過幣安 Web3 代幣安全介面審計加密代幣合約,辨識詐騙、蜜罐與交易風險。

功能
使用鏈 ID 與合約地址呼叫幣安 Web3 代幣安全審計介面,並回報取得的風險等級、買入與賣出稅率、合約驗證狀態以及各項風險項目。支援 BSC、Base、Solana 與以太坊代幣,並將風險等級對應為謹慎繼續、避免交易或阻止交易等建議。它也規定審計資料不可用或代幣不受支援時的回覆方式,並要求每次結果附上免責聲明。
適用情境
當使用者詢問某個代幣是否安全、需要代幣安全檢查或審計,或在買入、兌換代幣前需要交易前安全核查時使用。
執行需求
需要連線至幣安 Web3 公開 API 介面的網路存取、鏈 ID 與代幣合約地址,以及每次呼叫產生的 UUID v4 請求 ID。此技能未附帶指令碼,僅為說明文件。

Query Token Audit Skill

Overview

APIFunctionUse Case
Token Security AuditToken security scanDetect honeypot, rug pull, scam, malicious functions

Use Cases

  1. Pre-Trade Safety Check: Verify token security before buying or swapping
  2. Scam Detection: Identify honeypots, fake tokens, and malicious contracts
  3. Contract Analysis: Check for dangerous ownership functions and hidden risks
  4. Tax Verification: Detect unusual buy/sell taxes before trading

Supported Chains

Chain NamechainId
BSC56
Base8453
SolanaCT_501
Ethereum1

API: Token Security Audit

Method: POST

URL:

https://web3.binance.com/bapi/defi/v1/public/wallet-direct/security/token/audit

Request Parameters:

ParameterTypeRequiredDescription
binanceChainIdstringYesChain ID: CT_501 (Solana), 56 (BSC), 8453 (Base), 1 (Ethereum)
contractAddressstringYesToken contract address
requestIdstringYesUnique request ID (UUID v4 format)

Request Headers:

Content-Type: application/jsonAccept-Encoding: identityUser-Agent: binance-web3/1.4 (Skill)

Example Request:

bash
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:

json
{    "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:

FieldTypeDescription
hasResultbooleanWhether audit data is available
isSupportedbooleanWhether the token is supported for audit
riskLevelEnumstringRisk level: LOW, MEDIUM, HIGH
riskLevelnumberRisk level number (1-5)
extraInfo.buyTaxstringBuy tax percentage (null if unknown)
extraInfo.sellTaxstringSell tax percentage (null if unknown)
extraInfo.isVerifiedbooleanWhether contract code is verified
riskItems[].idstringRisk category: CONTRACT_RISK, TRADE_RISK, SCAM_RISK
riskItems[].details[].titlestringRisk check title
riskItems[].details[].descriptionstringRisk check description
riskItems[].details[].isHitbooleantrue = risk detected
riskItems[].details[].riskTypestringRISK (critical) or CAUTION (warning)

Risk Level Reference:

riskLevelriskLevelEnumActionDescription
0-1LOWProceed with cautionLower risk detected, but NOT guaranteed safe. DYOR.
2-3MEDIUMExercise cautionModerate risks detected, review risk items carefully
4HIGHAvoid tradingCritical risks detected, high probability of loss
5HIGHBlock transactionSevere 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.

Response Handling:

  • If hasResult=false OR isSupported=false: → Reply: "Security audit data is not available for this token on this chain." → Do NOT show riskLevel, riskLevelEnum, or riskItems (data is unreliable when either field is false) → You may suggest the user verify the contract address and chain, or try again later
  • If hasResult=true AND isSupported=true: → Show the full audit result including risk level, tax info, and all risk items → Apply the Risk Level Reference table above for actionable guidance

User Agent Header

Include User-Agent header with the following string: binance-web3/1.4 (Skill)

Notes

  1. All numeric fields are string format, convert when using
  2. Audit results are ONLY valid when hasResult: true AND isSupported: true
  3. riskLevel: 5 means transaction should be blocked; riskLevel: 4 is high risk
  4. Tax thresholds: >10% is critical, 5-10% is warning, <5% is acceptable
  5. Generate unique UUID v4 for each audit request
  6. Only output security check risk flags, do NOT provide any investment advice
  7. Always end with disclaimer: ⚠️ This audit result is for reference only and does not constitute investment advice. Always conduct your own research.

來源與署名

來源:binance/binance-skills-hub位於skills/binance-web3/query-token-audit提交9960c67

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架