# TraceFast Contract Metadata

> TraceFast Contract Metadata is a paid API for AI agents from mpp.tracefast.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Returns comprehensive metadata for a deployed Ethereum contract: bytecode hash/size, ABI interface detection (ERC-20, ERC-165), proxy pattern analysis, and full lifecycle info (deployer, origin, creating transaction, code changes, self-destruct).

## Facts

- Endpoint: GET https://mpp.tracefast.xyz/api/v1/chains/1/contracts/:address?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tracefast-contract-metadata-a767ae33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gCNvtrm6PBmADtLLOK6zn

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 tracefast-contract-metadata-a767ae33
```

Example prompt: Look up the full contract metadata for 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want to know the proxy pattern, who deployed it, the bytecode hash, and whether it implements ERC-20.

## When to prefer this

Use this endpoint when you need rich, structured contract metadata beyond raw bytecode — specifically when you need proxy detection (EIP-1167 minimal proxy, upgradeable proxy patterns), ERC standard interface detection, or deployer/origin/lifecycle history for a specific Ethereum mainnet contract address. Prefer this over raw RPC calls when you need the full picture in a single request without writing custom parsing logic.

## Known failure modes

- Invalid or malformed address (not 40 hex chars or missing 0x prefix) returns a 400 error
- Address is an EOA (externally owned account), not a contract — returns empty or null contract data
- Contract not yet indexed or very recently deployed — may return incomplete lifecycle data
- Network timeout or upstream Ethereum node unavailability causes 5xx error
- Payment not included or insufficient — x402 payment required error

## How this service works

TraceFast live Ethereum data: one deployed contract — the hash and size of its current code, what the code exposes (ERC-20 view functions, ERC-165, an EIP-1167 minimal proxy and its target), the proxy pattern detected in it, and its lifecycle: the deploying account, the origin account, the creating transaction, code changes and self-destruction. Path address: The contract address, `0x`-prefixed, 40 hex characters, any case. Docs: https://docs.tracefast.xyz/api/contract.md

## Output

A JSON object containing: the contract's current bytecode hash and size, detected interface support (ERC-20 view functions, ERC-165), EIP-1167 minimal proxy flag and target address if applicable, the detected proxy pattern, the deploying account address, the origin (EOA) account, the transaction hash that created the contract, a history of code changes, and self-destruct status.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tracefast-contract-metadata-a767ae33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.tracefast.xyz](https://www.zero.xyz/host/mpp.tracefast.xyz/llms.txt)
