360 Secure SkillHub
360 安全技能中心

vike-wallet-check

该 Skill 通过 MCP、vike-data CLI 或 curl 调用 Vike 链上数据接口,单次检查一个地址的合约类型、代币属性、标签、风险标记、各链转账数、首次资金提供方、交易所使用及 Hyperliquid、Polymarket、Predict.fun 身份;仅输出观察到的事实,不给出安全判定或风险评分。

分类:安全
vikeio
vikeio
热度 38.71
最近更新 2026-12-02 10:01:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add vikeio/vike-wallet-check
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
vike-wallet-check
description
Check one address in one call before you send to it, sign for it or trust it - is it a contract, a token, a Safe or a delegated wallet, is it labelled an exchange, a protocol or flagged (sanctioned, hacker, phishing), how many transfers it has on each of Ethereum, BSC, Base and HyperEVM, who funded it first, which exchanges it uses, and whether it is a Hyperliquid trader, a Polymarket or Predict.fun account - plain observed facts, never a "safe" verdict. Use when the user pastes an address and asks "check this address" / "is this address risky or flagged" / "is it safe to send to 0x..." / "is this a contract or a person" / "what is this address".
allowed-tools
Bash(vike-data:*)

vike-wallet-check

Everything vike holds on ONE address, one block per fact, in one call (1 request), plus one wallet batch call for the risk flag, which the check does not carry. For a multi-step identity investigation (counterparties, the chain that matters) use vike-wallet-who-is.

Example questions

  • "Is 0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b safe to send to?"
  • "Is this address a contract, an exchange deposit or a normal wallet?"
  • "Check 0x... for me before I approve it."

Call it

Use the first of these that is available:

  1. MCP: the wallet_check tool with address, optionally chain (ethereum, bsc, base, hyperevm): it limits first_funder and exchanges to that chain; without it they cover every chain the address has transfers on. Then wallet_batch_labels with addresses: [address] and chain for risk_flag.
  2. CLI: there is no check command; call prints the tool's raw JSON:
    A=0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b
    vike-data call wallet_check --args "{\"address\":\"$A\"}"
    vike-data call wallet_check --args "{\"address\":\"$A\",\"chain\":\"base\"}"
    vike-data wallet batch $A --chain ethereum --json        # risk_flag, e.g. "sanctioned"
    
  3. curl: the credential is VIKE_API_KEY, else api_key or anon_token from ~/.vike/config.json (Windows %USERPROFILE%\.vike\config.json); with none, get a free anonymous token with curl -s -X POST https://data.vike.io/v1/anon -H 'Content-Type: application/json' -d '{"source":"skill-curl"}' and save its token there as "anon_token" (see vike-core).
    curl -s "https://data.vike.io/v1/onchain/wallets/$A/check" -H "X-API-KEY: $TOKEN"
    curl -s -X POST "https://data.vike.io/v1/onchain/labels/batch?addresses=$A&chain=ethereum" -H "X-API-KEY: $TOKEN"
    

Reading the answer

Every block is its own fact. A block missing from the answer could not be read; an empty one means we looked and found nothing.

  • summary[]: the facts in plain sentences ("contract code on ethereum", "labelled tornadocash (flagged) on ethereum", "earliest inbound transfer on base: from coinbase, 2024-02-06"). Start the answer from it.
  • code[] {chain, kind}: contract, eip7702 (a person's wallet delegated to contract code), safe (Safe multisig), proxy (EIP-1167 minimal proxy). A chain absent = no code there when last checked. A token or a protocol contract usually should not receive a plain send.
  • token[]: set when the address is a token contract (symbol, name, chain).
  • labels[] {chain, entity, type}: type cex (an exchange), flagged (sanctioned, hacker, exploit and scam lists), dex, defi, bridge, mev, market_maker, user, ... An empty entity with type user is our classifier's default for an unnamed address, not a verified person. The type can be wrong when sources disagree: 0xd8dA6BF2...6045 reads dex because one source calls it sushiswap; check label_sources.
  • label_sources[] {source, label, entity, category} (Ethereum; providers named provider_a to provider_e, plus ens, scanner): a category such as blocked or privacy is a warning even when the consensus type is not flagged. label_origins[] says where the BNB Chain, Base and HyperEVM labels came from.
  • onchain[] {chain, transfers}: where the address is active. No row anywhere = never seen by us; that is not proof it is new or clean.
  • first_funder[], exchanges[]: per chain, the same answers as vike-wallet-first-funder and vike-wallet-exchange-usage (365 days); read their skills for the caveats.
  • hl_trader, hl_vault, hl_builder, polymarket {account, owned}, predictfun: its identity on those venues, null / empty when none.
  • From wallet batch: risk_flag (sanctioned, ... or empty) and confidence. Any non-empty risk_flag goes first in the answer.

Answer template

<address>: <code kind or "no contract code"> on <chains>. Labelled <entity> (<type>) on <chain>; risk flag <risk_flag or none>. Active on <chains with transfer counts>; first funded by <sender label or address> on <date>; uses <exchanges>. <Hyperliquid / Polymarket identity if any.> These are observations, not a safety verdict.

Limits

  • The same 0x address is a different account on each chain: a label or code on one chain says nothing about another (USDC's Base contract address reads user on Ethereum).
  • No risk score and no verdict: never tell the user an address is "safe". No flagged label is not clearance; labels are sparse on hyperevm.
  • first_funder and exchanges use fixed floors and 365 days; for other floors or windows call wallet first-funder / wallet exchange-usage.

Errors

  • {"error":"address must be 0x followed by 40 hex digits"}, exit 1: a cut or ENS address. Resolve a name with vike-data search <name.eth> first.
  • A busy address takes a few seconds; pass chain to read one chain only.
  • Exit code 3: the anonymous token's limit; tell the user to run vike-data login (400 a day), do not retry.

See also

  • vike-wallet-who-is (identity playbook), vike-wallet-label-provenance (every label source), vike-wallet-batch (many addresses)
  • vike-transaction-lookup for a hash, vike-follow-the-money when the address is a suspect