# GenTech Defender — Contract Risk Classifier (Avalanche C-Chain)

> GenTech Defender — Contract Risk Classifier (Avalanche C-Chain) is a paid API for AI agents from api.gentechlabs.net, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Classifies the risk profile of a smart contract address on Avalanche C-Chain (chain ID 43114), returning a risk label and score.

## Facts

- Endpoint: GET https://api.gentechlabs.net/v1/defender/classify/43114/0x8e53ad52980478794bb5b459b7cbdd836975e4cb?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gentech-defender-contract-risk-classifier-avalanche-c-chain-f84b27d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wq-8xbioQ3SQ6g8ntTbsp

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 gentech-defender-contract-risk-classifier-avalanche-c-chain-f84b27d6
```

Example prompt: Can you check whether the Avalanche contract at 0x8e53ad52980478794bb5b459b7cbdd836975e4cb is safe to interact with — give me its risk rating and score from the GenTech Defender?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call risk score for a specific Avalanche C-Chain smart contract without committing to a subscription. Prefer it over manual audits when operating in an autonomous agent context that needs programmatic go/no-go signals before executing on-chain transactions. Best suited for DeFi agents gating capital flows on contract safety.

## Known failure modes

- Invalid or non-existent contract address returns an error or null result
- Chain ID mismatch if a non-Avalanche address is passed
- Payment failure (HTTP 402) if USDC micropayment is not submitted via x402 protocol
- Rate limiting or gateway timeout for heavily queried contracts
- Contract too new or unverified — insufficient on-chain data to produce a meaningful score

## How this service works

Cross-chain agentic treasury + x402 payment infrastructure for the agent economy. Pay-per-call DeFi intelligence, yield scanning, wallet analysis, agent identity/trust, and market data across 9 chains — the infrastructure layer agents hire to manage capital and route payments. Treasury-first, utility-second, backed by real on-chain revenue.

## Output

Returns a JSON object with a 'risk' label (e.g. 'low', 'medium', 'high') and a numeric 'score' (0–100, higher = safer), plus a 'success' boolean indicating whether the classification completed successfully.

## 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE",
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": true
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "risk": "low",
   "score": 85
  },
  "success": true
 },
 "description": "Returns a JSON object with the requested service result or an error message."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gentech-defender-contract-risk-classifier-avalanche-c-chain-f84b27d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gentechlabs.net](https://www.zero.xyz/host/api.gentechlabs.net/llms.txt)
