# TrollBridge Tripwire — On-Chain Watch & Webhook Alert

> TrollBridge Tripwire — On-Chain Watch & Webhook Alert is a paid API for AI agents from mini-tollbooth.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Plants a 7-day armed tripwire on a wallet USDC balance, token USD price, or wallet transaction activity, firing a one-shot webhook POST when the threshold is crossed.

## Facts

- Endpoint: GET https://mini-tollbooth.onrender.com/tripwire?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trollbridge-tripwire-on-chain-watch-webhook-alert-ba320383
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4zBAtvnxcFDxfa6ArGnfa

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-tripwire-on-chain-watch-webhook-alert-ba320383
```

Example prompt: Plant a tripwire on wallet 0x8b...96c0 so that when its USDC balance on Base drops below 0.01 USDC, you POST a one-shot alert to https://my-agent.example.com/alert — label it 'treasury-low'.

## When to prefer this

Choose this endpoint when an AI agent needs event-driven, threshold-based on-chain monitoring without polling — specifically for wallet USDC balance drops, token USD price crossings, or wallet activity surges on the Base network. It is ideal for treasury management, automated trading triggers, compliance monitoring, or agent pipeline orchestration where a single webhook callback is sufficient and cost-per-alert matters ($0.05 per tripwire). Prefer polling alternatives if you need repeated alerts or multi-condition logic.

## Known failure modes

- Invalid or missing webhook_url (must be https) — returns validation error
- Unsupported watch_type value — returns enum error
- Invalid 0x address format for target — returns parse error
- Threshold is negative or non-numeric — returns schema validation error
- Webhook URL unreachable when condition trips — alert may be lost silently
- Tripwire expires after 7 days without firing if condition never met
- Payment of $0.05 USDC not provided — 402 Payment Required

## 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

Returns a JSON object confirming the tripwire is armed, including a unique watch_id, the target address, condition, threshold with units, expiry timestamp (7 days), and a free status_url to check state. The webhook is fired once when the condition is met.

## 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": [
      "watch_type",
      "target",
      "condition",
      "threshold",
      "webhook_url"
     ],
     "properties": {
      "label": {
       "type": "string",
       "description": "Optional label for your own bookkeeping (max 100 chars)."
      },
      "target": {
       "type": "string",
       "description": "0x wallet or token contract address to watch."
      },
      "condition": {
       "type": "string",
       "description": "'above' or 'below' — fire when the observed value crosses the threshold."
      },
      "threshold": {
       "type": "number",
       "description": "USDC for wallet_balance, USD for token_price, tx count for wallet_activity."
      },
      "watch_type": {
       "type": "string",
       "description": "What to watch: wallet_balance (USDC on Base) | token_price (USD via DexScreener) | wallet_activity (Base tx count)."
      },
      "webhook_url": {
       "type": "string",
       "description": "https URL we POST once to when the condition trips. Must be https."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lane": "/tripwire",
  "state": "armed",
  "target": "0x8b…96c0",
  "summary": "…",
  "watch_id": "tw_9f2c4a1b7e30",
  "condition": "below",
  "threshold": 0.01,
  "expires_at": "2026-10-09T20:00:00.000Z",
  "status_url": "/tripwire/status?id=tw_9f2c4a1b7e30",
  "watch_type": "wallet_balance",
  "description": "Watch-and-ping for agents — plant a tripwire on a wallet's USDC balance, a token's USD price, or a wallet's activity, and your webhook gets woken up the moment it crosses your threshold. $0.05 plants one tripwire: armed 7 days, fires once. Status is a free GET on /tripwire/status ($0.05).",
  "threshold_units": "USDC"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trollbridge-tripwire-on-chain-watch-webhook-alert-ba320383/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)
