# CanaryGuard Contract Info Inspector

> CanaryGuard Contract Info Inspector is a paid API for AI agents from canaryguard-402.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Inspects Base EVM smart contract bytecode size, EIP-1967/UUPS proxy implementation slots, EIP-7702 delegation designators, and verified function selectors for a given contract address.

## Facts

- Endpoint: GET https://canaryguard-402.onrender.com/v1/contract-info?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/canaryguard-contract-info-inspector-9bff3025
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jNpHw348mENyGarSoN5gJ

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 canaryguard-contract-info-inspector-9bff3025
```

Example prompt: Can you inspect the Base smart contract at 0x4200000000000000000000000000000000000010 and tell me if it's a proxy, what the implementation address is, its bytecode size, and what function selectors are verified?

## When to prefer this

Use this endpoint when you need to programmatically determine whether a Base contract is a proxy (EIP-1967 transparent, UUPS, or EIP-7702 delegation), resolve its underlying implementation address, audit its bytecode footprint, or retrieve verified function selectors — especially in DeFi security workflows, contract auditing pipelines, or agent workflows that interact with unknown contracts on Base.

## Known failure modes

- Invalid or malformed contract address returns a validation error
- Address is an EOA (non-contract) with no bytecode — returns empty or zero bytecode size
- Contract not deployed on Base (chain_id 8453) returns not-found or empty response
- Rate limit or payment failure returns 402 Payment Required
- RPC timeout or Base network congestion may cause slow or failed responses

## How this service works

Inspects Base EVM smart contract bytecode size, EIP-1967/UUPS proxy implementation slots, EIP-7702 delegation designators, and verified function selectors.

## Output

Returns structured data about the target Base smart contract including: raw bytecode size in bytes, EIP-1967 and UUPS proxy implementation slot values (resolved implementation addresses if present), EIP-7702 delegation designator information, and a list of verified function selectors with their human-readable signatures where available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain_id": {
   "type": "integer",
   "default": 8453
  },
  "contract_address": {
   "type": "string",
   "description": "Smart contract address on Base (0x...)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/canaryguard-contract-info-inspector-9bff3025/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from canaryguard-402.onrender.com](https://www.zero.xyz/host/canaryguard-402.onrender.com/llms.txt)
