# Smart Contract Info

> Smart Contract Info is a paid API for AI agents from chain.intel.rallylive.ca, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-02).

Returns a full smart contract profile including verified source, compiler, license, proxy/implementation, ownership, creator, and privileged write functions across multiple EVM chains.

## Facts

- Endpoint: GET https://chain.intel.rallylive.ca/contract/info?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/smart-contract-info-ee5282be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o8EDLeKRw57sViwb6GWl0

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 smart-contract-info-ee5282be
```

Example prompt: Can you pull up the full smart contract profile for 0x1234...abcd on Base — I want to know if it has mint or pause functions, whether the owner has renounced, and if it's a proxy contract?

## When to prefer this

Use this endpoint when you need a comprehensive smart contract audit profile in a single call, especially when checking for privileged admin functions (mint, pause, blacklist, upgrade), proxy patterns, ownership renouncement, and verified source — across Base, Ethereum, Arbitrum, Optimism, Polygon, or BSC. Prefer this over generic block explorers when an agent needs structured, machine-readable contract metadata without scraping.

## Known failure modes

- Contract address not found or not deployed on specified chain — returns empty or error response
- Unverified contract source — source code fields will be null or unavailable
- Invalid chain prefix — returns error if unsupported chain identifier is provided
- Malformed contract address — returns validation error
- Rate limit or payment failure — x402 payment not processed, request rejected

## How this service works

Smart contract profile: verified source, name, compiler, license, proxy and implementation, owner (renounced?), creator and creation tx, token details, write functions and privileged-looking functions (mint, pause, blacklist, setFee, upgrade). Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:, bsc:. $0.02 per call.

## Output

Returns a structured profile of the smart contract including: verification status, contract name, compiler version, license type, whether it is a proxy and its implementation address, owner address and whether ownership has been renounced, creator address and creation transaction hash, token details if applicable, full list of write functions, and flagged privileged functions such as mint, pause, blacklist, setFee, and upgrade.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/smart-contract-info-ee5282be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.intel.rallylive.ca](https://www.zero.xyz/host/chain.intel.rallylive.ca/llms.txt)
