txpeek: check an address before a transaction
check_contract_before_interactionCheck an address for risk before sending, approving, or buying its token on Base or Ethereum. Get a verdict, risk score, and plain-language reasons to avoid unsafe interactions.
Instructions
txpeek: Check an address for risk right before you send a transaction to it, approve it, or buy its token (Base or Ethereum). For a full scan of verified source use scan_contract_address; for a token's sellability use check_token_honeypot. Returns verdict (low | caution | high | unknown), risk_score 0-100 and plain-language reasons, e.g. upgradeable by a single key, unverified source, mint/blacklist/fee functions, SELFDESTRUCT or DELEGATECALL, an EOA where a contract was expected. Price: USD 0.005. Free: 3 scans or 30 txpeek checks per IP per UTC day. Typically under 1 s (p95 about 1 s), at most about 4 s; results are cached for 10 min. If the chain cannot be read the call fails and is not charged. Heuristic, not an audit: the buy/sell (honeypot) simulation of ERC-20 tokens sees one trade now, there is no oracle analysis, and a low verdict is not a clearance. Docs: https://tanod.dev/learn/contract-address-risk-check-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain the contract is deployed on. | |
| address | Yes | Address you are about to interact with (0x + 40 hex). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| chain | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| schema | No | ||
| address | No | ||
| reasons | No | ||
| verdict | No | ||
| disclaimer | No | ||
| latency_ms | No | ||
| risk_score | No | ||
| checked_at_block | No |