# VeriGrace Contract Gate

> VeriGrace Contract Gate is a paid API for AI agents from api.verigrace.com:4451, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-13).

Performs static analysis of Solidity smart contracts on Base, returning a pass/fail safety verdict and checklist of red flags before trading or interacting with the contract.

## Facts

- Endpoint: GET https://api.verigrace.com:4451/api/contract-gate?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verigrace-contract-gate-9a624e5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y-H3LOmnwlB2FkFHPOtDm

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 verigrace-contract-gate-9a624e5f
```

Example prompt: Before I trade this token, run a pre-trade safety check on the contract at 0xAbC123... on Base — I want to know if it passes and whether there are any reentrancy, rug pull, or owner privilege red flags.

## When to prefer this

Choose VeriGrace Contract Gate when you need a fast, automated pre-trade security screening of a specific smart contract on Base before a user interacts with or invests in it. It is ideal for AI trading agents, DeFi wallets, and portfolio tools that need a lightweight, pay-per-check gate rather than a full manual audit. Prefer this over general-purpose code scanners when you need on-chain metadata combined with static Solidity analysis in a single API call, and when operating on the Base network specifically.

## Known failure modes

- Contract address not found on Base — returns error if contract does not exist on-chain
- Unverified source — analysis may be incomplete if Solidity source is not verified on Blockscout
- Network/RPC unavailability — Base RPC outages may cause timeouts
- Payment failure — transaction rejected if 0.25 USDC not successfully sent via x402
- Invalid contract address format — returns validation error for malformed addresses

## How this service works

Pre-trade contract safety gate: static analysis of verified Solidity source + on-chain metadata. Returns pass/fail verdict + red flag checklist (reentrancy, unchecked calls, owner privs, delegatecall, oracle single-point, rug vectors, age). Pay-per-check: 0.25 USDC on Base via x402. Source: Blockscout + Base RPC (public data only).

## Output

A pass/fail verdict indicating whether the contract meets safety thresholds, accompanied by a structured red flag checklist covering: reentrancy vulnerabilities, unchecked external calls, owner privilege abuse vectors, delegatecall usage, oracle single-point-of-failure risks, rug pull vectors, and contract age — all derived from verified Solidity source and on-chain metadata.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verigrace-contract-gate-9a624e5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.verigrace.com:4451](https://www.zero.xyz/host/api.verigrace.com%3A4451/llms.txt)
