token-scan
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseToken Scan
Token扫描
Use to inspect one token contract with the CertiK token scan API.
{skillDir}/scripts/token_scan.pyUse this skill when the user wants a token risk review for a specific chain and contract address.
使用通过CertiK的Token扫描API检查单个Token合约。
{skillDir}/scripts/token_scan.py当用户需要针对特定链和合约地址进行Token风险审查时,使用此技能。
When to use this skill
使用场景
- Analyze token contract security risk
- Review high-risk findings and alert severity
- Interpret buy or sell tax fields
- Check holder concentration and LP lock status
- 分析Token合约安全风险
- 审查高风险发现及警报级别
- 解读买入或卖出税费字段
- 检查持有者集中度和LP锁定状态
Supported chains
支持的链
bscethsolanaarbitrumbasepolygonavaxtrontonplasmasuiIf the user provides a chain outside this list, do not call the API. Tell the user the chain is not supported yet and list the supported chains.
bscethsolanaarbitrumbasepolygonavaxtrontonplasmasui如果用户提供的链不在此列表中,请勿调用API。告知用户该链暂不支持并列出支持的链。
Workflow
工作流程
- Confirm the chain is supported.
- Validate the address format when the chain format is obvious from the input.
- Prefer the bundled Python script for execution.
- If Python is unavailable, use the documented fallback.
curl - If the result is still running, report that the scan is in progress instead of pretending the scan is complete.
- Return the result in this order:
- risk overview
- alert list
- additional token signals such as tax, holder concentration, and LP lock
- Only include raw fields when the user explicitly asks for audit-level detail.
- 确认链是否受支持。
- 当输入中可明确链的格式时,验证地址格式。
- 优先使用捆绑的Python脚本执行。
- 如果Python不可用,使用文档中提供的备选方案。
curl - 如果扫描仍在运行,报告扫描进行中,不要假装扫描已完成。
- 按以下顺序返回结果:
- 风险概述
- 警报列表
- 其他Token信号,如税费、持有者集中度和LP锁定状态
- 仅当用户明确要求审计级细节时,才包含原始字段。
Execution
执行方式
Important:only supports--chain. If the user provides a chain outside this list, do not call the API. Reply that the chain is not supported yet and include the supported chain list so the user can switch.bsc|eth|solana|arbitrum|base|polygon|avax|tron|ton|plasma|sui
Prefer Python first:
bash
python3 scripts/token_scan.py --chain "bsc" --contract "0x..."If Python is unavailable, use :
curlbash
curl -sG "https://open.api.certik.com/token-scan" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "chain=bsc" \
--data-urlencode "address=0x..."重要提示:仅支持--chain。 如果用户提供的链不在此列表中,请勿调用API。回复用户该链暂不支持,并附上支持的链列表以便用户切换。bsc|eth|solana|arbitrum|base|polygon|avax|tron|ton|plasma|sui
优先使用Python:
bash
python3 scripts/token_scan.py --chain "bsc" --contract "0x..."如果Python不可用,使用:
curlbash
curl -sG "https://open.api.certik.com/token-scan" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "chain=bsc" \
--data-urlencode "address=0x..."Output requirements
输出要求
- Risk overview must include ,
score, and the highest alert level.alert_count - Alert list must be sorted by and show up to 8 items.
Critical -> Major -> Medium -> Minor - If , explicitly say:
alert_count > 8.Total N alerts, showing the top 8 highest-priority items - Clarify that values like and
skyknight_score.details.buy_taxare deduction factors, not the real tax percentage.skyknight_score.details.sell_tax - Prefer the real buy or sell tax value from when it exists.
security_summary.*.extended_data.*
- 风险概述必须包含、
score以及最高警报级别。alert_count - 警报列表必须按排序,最多显示8个条目。
Critical -> Major -> Medium -> Minor - 如果,需明确说明:
alert_count > 8。共N条警报,显示优先级最高的8条 - 需明确说明和
skyknight_score.details.buy_tax是扣减因子,而非实际税费百分比。skyknight_score.details.sell_tax - 当存在实际买入或卖出税费值时,优先使用中的值。
security_summary.*.extended_data.*
Public API
公开API
- Endpoint:
GET https://open.api.certik.com/token-scan - Query parameters:
- (required)
chain - (required)
address
Example:
bash
curl -sG "https://open.api.certik.com/token-scan" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "chain=eth" \
--data-urlencode "address=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"Supported chain formats:
- : EVM hex
arbitrumwith 42 chars0x... - : EVM hex
avaxwith 42 chars0x... - : EVM hex
basewith 42 chars0x... - : EVM hex
bscwith 42 chars0x... - : EVM hex
ethwith 42 chars0x... - : EVM hex
plasmawith 42 chars0x... - : EVM hex
polygonwith 42 chars0x... - : Base58 public key
solana - : Hex
suiwith module path0x... - :
tonorEQprefix, 46-48 charsUQ - : Base58check, starts with
tron, 34 charsT
- 端点:
GET https://open.api.certik.com/token-scan - 查询参数:
- (必填)
chain - (必填)
address
示例:
bash
curl -sG "https://open.api.certik.com/token-scan" \
-H "Accept: application/json, text/plain, */*" \
--data-urlencode "chain=eth" \
--data-urlencode "address=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"支持的链地址格式:
- :42字符的EVM十六进制
arbitrum0x... - :42字符的EVM十六进制
avax0x... - :42字符的EVM十六进制
base0x... - :42字符的EVM十六进制
bsc0x... - :42字符的EVM十六进制
eth0x... - :42字符的EVM十六进制
plasma0x... - :42字符的EVM十六进制
polygon0x... - :Base58公钥
solana - :带模块路径的十六进制
sui0x... - :以
ton或EQ为前缀,46-48字符UQ - :Base58check格式,以
tron开头,34字符T
Result notes
结果说明
- If is
message, the scan has not finished.in progress - If is
message, the scan is complete and can be summarized.success - If is
message, return the upstream error information.error - and
skyknight_score.details.buy_taxare deduction factors, not literal tax percentages.skyknight_score.details.sell_tax - Prefer actual tax values from:
security_summary.buy_tax.extended_data.buy_taxsecurity_summary.sell_tax.extended_data.sell_tax
- 如果为
message,表示扫描尚未完成。in progress - 如果为
message,表示扫描已完成,可以进行总结。success - 如果为
message,返回上游错误信息。error - 和
skyknight_score.details.buy_tax是扣减因子,并非字面意义上的税费百分比。skyknight_score.details.sell_tax - 优先使用以下位置的实际税费值:
security_summary.buy_tax.extended_data.buy_taxsecurity_summary.sell_tax.extended_data.sell_tax