# SYNTHORA Contract Guard – Pre-Trade Smart Contract Safety Scanner

> SYNTHORA Contract Guard – Pre-Trade Smart Contract Safety Scanner is a paid API for AI agents from pay.hergertsynthora.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs a pre-swap safety scan on a smart contract or x402 endpoint, detecting honeypots, rug-pulls, hidden mints, transfer taxes, and admin key centralization risks on Base, returning an Ed25519-signed risk verdict.

## Facts

- Endpoint: POST https://pay.hergertsynthora.com/preflight
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthora-contract-guard-pre-trade-smart-contract-safety-scanner-16ef2c21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HSDnNXDpomqCD5A3tDJX0

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 synthora-contract-guard-pre-trade-smart-contract-safety-scanner-16ef2c21 -d '<json body>'
```

Example prompt: Before you swap any USDC for this token at contract 0xABC...123 on Base, run a SYNTHORA Contract Guard pre-trade scan on it — check for honeypot signatures, rug-pull risk, hidden mints, transfer tax blacklist, and admin key centralization, and give me the signed risk verdict before we proceed.

## When to prefer this

Use this endpoint immediately before any agent-initiated token swap, DeFi trade, or x402 payment on Base to get a deterministic, cryptographically signed safety verdict. Prefer this over manual contract inspection when you need a fast, auditable, multi-dimensional risk check (honeypot + rug-pull + hidden mint + tax + admin keys) in a single call with full data provenance.

## Known failure modes

- Contract address not found on Base – returns unknown verdict
- Target x402 endpoint is down – returns 'down' status in verdict
- PayTo address has changed – returns 'changed' verdict with details
- Malformed input URL or address – returns validation error
- On-chain read failure – incomplete provenance, reduced confidence result
- Payment not received ($0.01 USDC required) – 402 Payment Required response

## How this service works

306 M2M AI services. Pay per call in USDC on Base. No subscription. No API key needed. Browse, pay, consume.

## Output

Returns a JSON object with ok status, niche identifier ('paytodefense'), a result object containing the full risk assessment (honeypot verdict, rug-pull flag, hidden-mint detection, transfer tax/blacklist status, admin key centralization audit, overall risk score), and a receipt with Ed25519 signature and sha256 data provenance from on-chain reads.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "x402 PayTo Pre-Flight: synchronous verify-before-pay. Check a target x402 endpoint/payTo is alive and unchanged JUST before paying, to avoid sending USDC to a dead/changed/hijacked payTo. POST {input endpoint_url, expected_payTo}. Ed25519-signed verdict (safe/changed/down/unknown). Data: live x402 registry."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "niche": "paytodefense",
  "result": {},
  "receipt": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synthora-contract-guard-pre-trade-smart-contract-safety-scanner-16ef2c21/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.hergertsynthora.com](https://www.zero.xyz/host/pay.hergertsynthora.com/llms.txt)
