token_safety
Checks an ERC-20 token before you trade by running live buy-sell simulations, contract-power analysis, and honeypot cross-checks, then returns a single safety grade and risk score.
Instructions
Decide whether an ERC-20 token is safe to trade before committing funds. Runs a live buy-then-sell simulation (Aerodrome and Uniswap V3) plus contract-power and ownership analysis and a GoPlus and honeypot.is cross-check, then returns a single verdict. Use it when an agent is about to swap into, approve, or accept a token it has not vetted. Returns JSON with: grade (A to F), risk_score (0-100), is_honeypot (boolean), tradeable (boolean), and a flags array where each flag carries on-chain evidence. Read-only: no wallet, key, or signature needed; a cold simulation can take a few seconds. Paid per call in USDC on Base via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Which chain the token lives on: 'base' for Base mainnet (the default) or 'bsc' for BNB Smart Chain. It must match the network the address is deployed on. | base |
| address | Yes | The ERC-20 token contract address to evaluate: a 42-character hex string starting with 0x (for example 0x4200000000000000000000000000000000000006). This is the token you are about to buy, approve, or receive. |