ERC-20 Token Honeypot & Rugpull Safety Scanner
ingravity_scanTokenRugpullAndHoneypotAudits an ERC-20 token for honeypots, hidden mints, blacklists, abusive taxes, paused swaps, and stealth proxies using deployed tokenAddress (live 5-EVM RPC bytecode scan), pre-deploy Solidity code, or both (omitting both returns -32602). Read-only across chainId (default 8453 Base; tokenName labels the output), returning verdict, canSell, rugProbabilityScore (0-100), and PROCEED/CAUTION/ABORT. Set tier to FULL ($0.12 USDC, default) for evidence and sellSimulation, or ESSENTIAL ($0.04 USDC) for verdict scalars only; unpaid calls return isError: true (0.15% SLA or 5%-10% Safe-Harbor split applies to live-TVL rescue fixes). Use before swapping tokens; use ingravity_auditSolidityContract for general Solidity source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Optional Solidity (.sol) source code for pre-deployment 14-rule rugpull AST scan or hybrid source + bytecode analysis. | |
| tier | No | Billing & output depth: FULL ($0.12 USDC) returns sellSimulation, liveOnChainForensics, risk pillars, and forensicEvidence; ESSENTIAL ($0.04 USDC) returns verdict, canSell, score, and action scalars only. | FULL |
| chainId | No | EVM Chain ID for RPC lookup when tokenAddress is supplied (8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum; unknown falls back to 8453). | |
| tokenName | No | Optional token ticker or label echoed in the report. | |
| tokenAddress | No | Deployed 42-char EVM ERC-20 contract address (0x...) inspected via live RPC bytecode & proxy slots (no Solidity source required). Provide tokenAddress, code, or both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Trade safety gate recommendation. | |
| signal | Yes | Traffic-light risk indicator. | |
| canSell | Yes | True when no transfer locks, honeypot hooks, or blocking traps were detected. | |
| chainId | Yes | Resolved EVM chain ID. | |
| pillars | No | Boolean breakdown across 6 rugpull pillars (FULL tier only). | |
| settled | Yes | Whether x402 USDC payment settled cleanly. | |
| verdict | Yes | Overall rugpull/honeypot verdict. | |
| decision | Yes | Normalized sellability decision. | |
| tokenName | Yes | Resolved token name label. | |
| tokenAddress | No | Inspected token address (null when scanning pre-deploy code only). | |
| inspectionMode | Yes | Whether inspection used live RPC bytecode, static Solidity AST, or hybrid. | |
| sellSimulation | No | Simulated sellability and liquidity-lock indicators (FULL tier only). | |
| forensicEvidence | No | Matched AST and bytecode rules with snippets (FULL tier only). | |
| isHoneypotLikely | Yes | True if explicit sell-blocking or honeypot trap signatures matched. | |
| rugProbabilityScore | Yes | Weighted rugpull risk score from 0 to 100. | |
| liveOnChainForensics | No | Live RPC bytecode size, proxy implementation, owner status, and pause state (FULL tier only). |