# EVM Contract Introspection (Optimism)

> EVM Contract Introspection (Optimism) is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Retrieves on-chain contract data for a given address on the Optimism EVM network

## Facts

- Endpoint: GET https://saylorinnovations.com/api/evm/optimism/contract/:address?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-contract-introspection-optimism-37ccb24e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SKOTl0C0e1pTUO0hZCtVo

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 evm-contract-introspection-optimism-37ccb24e
```

Example prompt: Can you pull the on-chain contract details for the address 0x4200000000000000000000000000000000000006 on the Optimism network?

## When to prefer this

Use this endpoint when you specifically need contract introspection data from the Optimism (OP Mainnet) L2 network. Prefer this over generic Ethereum mainnet endpoints when working with Optimism-native or bridged contracts. Choose this over the sibling Arbitrum endpoint when the contract is deployed on Optimism. Useful for agents that need to verify, audit, or display contract-level on-chain data without running their own Optimism node.

## Known failure modes

- Invalid or malformed contract address returns an error
- Address is an EOA (externally owned account), not a contract — may return empty bytecode
- Contract not deployed on Optimism (wrong network) — returns null or empty result
- Network connectivity issues to Optimism RPC node — timeout or 503 error
- Rate limiting or payment failure — 402 or 429 response

## How this service works

EVM Contract Introspection (optimism). Optimism contract introspection: contract vs wallet (incl. EIP-7702 delegation), bytecode size, proxy detection (EIP-1967 and legacy OpenZeppelin slots) and ERC-20 name, symbol, decimals, total supply.

## Output

Returns on-chain contract introspection data for the specified Optimism address, which may include bytecode, contract type indicators, deployment metadata, ABI fragments, or other EVM-level contract details available from the Optimism network node.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-contract-introspection-optimism-37ccb24e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
