# TrollBridge Deep Contract Audit

> TrollBridge Deep Contract Audit is a paid API for AI agents from mini-tollbooth.onrender.com, paid per call via x402, $25/call, status unknown (last checked 2026-10-12).

Submits an EVM smart contract for an asynchronous AI-powered multi-persona security audit (Attacker, Economist, Pedant) and returns a job ID to poll for the resulting report

## Facts

- Endpoint: GET https://mini-tollbooth.onrender.com/audit?utm_source=zero.xyz
- Price: $25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trollbridge-deep-contract-audit-aebf483f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ic3fgW-KjF_4kXrXuMZ2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trollbridge-deep-contract-audit-aebf483f
```

Example prompt: Run a deep TrollBridge AI audit on the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I want the full multi-persona review (Attacker, Economist, Pedant) and will check back for the report when it's ready.

## When to prefer this

Choose this endpoint when you need a thorough, multi-angle AI security analysis of a smart contract — going beyond quick automated screening (honeypot checks, rug scores) but without the cost or wait of a human audit firm. Ideal when a user is about to commit significant funds to an unknown DeFi protocol or token and wants structured Attacker/Economist/Pedant review. Not suitable for real-time gating decisions (15-30 min async); use lighter TrollBridge screening endpoints for instant pre-transaction checks.

## Known failure modes

- Missing or invalid contract address returns an error — address must be 0x-prefixed 40 hex chars
- Missing action parameter causes request failure
- Invalid chain value (anything other than 'base' or 'ethereum') returns an error
- Payment of $25 USDC not provided or rejected results in 402 Payment Required
- Polling with a non-existent job_id returns not-found error
- Report generation may time out or fail if the contract is too complex or unparseable

## How this service works

The insurance booth for AI agents, with Mini's Agent Supply Store on the side of the road. One hundred checkpoints: pre-transaction safety lanes (honeypot, approval-risk, rug-score, receipt-check, tx-dryrun, permit-scan, airdrop-verdict, deployer-history, wallet-watch, secret-scan at $0.02 USDC per call; the protection tier — /contract-check, /approval-screen, /tx-plain-english, /honeypot-check, /tx-simulate, /redteam, /skill-scan, /verdict, /egress-audit, /tool-gate, /airlock, /repo-scan, /prove, /task-scope — at $0.10; the one-call /shield don't-get-rugged screen at $0.25; the full /preflight bundle at $0.05), bounty intel (bounties, fresh, verdicts, deadlines, sweepstakes, opportunities) at $0.02 USDC per call, trader intel (/prices and /quant at $0.02; /enrich and /token-check at $0.05; /contract-check and /honeypot-check at $0.10; /sec-facts at $0.05), market intel (/markets and /search at $0.05; /grants at $0.02), DeFi intel (/yields and /new-pairs at $0.05; /gas and /defi at $0.02), AI intel (/models at $0.02), agent-ops intel (/prompt-cost, /model-picks, /rpc-speed, /terms-tldr, /scrape, /gigs, /retry-verify, /idempotency, /verify-independent at $0.02; /site-watch, /wallet-check, /code-run, /regulatory-pack, /sage, /cron-watch, /caveat-check, /tripwire, /escrow, /trust, /bridge-fees, /dao-votes, /dev-activity, /dex-arb, /dydx-perps, /funding-rates, /gas-predict, /hack-tracker, /long-short-ratio, /lp-yields, /mev-scan, /open-interest, /perp-basis, /polymarket-odds, /rwa-watch, /sentiment, /stablecoin-flows, /tokenomics, /top-movers, /whale-watch, and /yield-stable at $0.05; /approval-screen, /tx-plain-english, /tx-simulate, and /task-scope at $0.10; /scam-scan deep scan at $5.00 or 30-day subscription at $30.00), supply store (/road-pack combo meal at $0.05; curated datasets, the /audit-prep pre-audit review, and the /prove-state symbolic-execution run at $1.00; the /audit AI-agent audit at $25.00). Every lane answers before money moves — heuristic verdicts, not audits. Don't get rugged.

## Output

On submit: a JSON object containing a job_id, status ('pending'), ETA (~15-30 min), chain, contract address, and a NOT_A_HUMAN_AUDIT warning. On status poll (free): the same structure updated with the audit report once complete. The full report covers multi-persona AI review from Attacker, Economist, and Pedant perspectives.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "action"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain: base or ethereum (default base) — for action=submit."
      },
      "action": {
       "type": "string",
       "description": "submit (tolled $25) or status (free)."
      },
      "job_id": {
       "type": "string",
       "description": "Job id from a submit — for action=status."
      },
      "address": {
       "type": "string",
       "description": "EVM contract address (0x…, 40 hex chars) — for action=submit."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "eta": "~15-30 min",
  "lane": "/audit",
  "chain": "base",
  "check": "GET /audit?action=status&job_id=au_9f2c4a1b7e30c1d2",
  "job_id": "au_9f2c4a1b7e30c1d2",
  "status": "pending",
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "warning": "NOT_A_HUMAN_AUDIT",
  "description": "AI-agent audit ($25.00) — submit a contract, get a deep multi-persona review (Attacker, Economist, Pedant) performed by an AI reviewer in ~15-30 min. Async: pay $25 to submit, poll status free until the report lands. NOT_A_HUMAN_AUDIT — not a human audit, not formal verification; the rung between automated screening and a paid human audit."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trollbridge-deep-contract-audit-aebf483f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mini-tollbooth.onrender.com](https://www.zero.xyz/host/mini-tollbooth.onrender.com/llms.txt)
