# Saylor Innovations Smart Contract Source & ABI Summary

> Saylor Innovations Smart Contract Source & ABI Summary is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns verified smart contract source metadata and ABI summary (compiler, proxy type, read/write/payable function counts) from Blockscout for a given EVM contract address

## Facts

- Endpoint: GET https://saylorinnovations.com/api/evm/contract-source?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-smart-contract-source-abi-summary-91e5e6ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SKhAAVSxXEZ4Zd5iVy1v1

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 saylor-innovations-smart-contract-source-abi-summary-91e5e6ad
```

Example prompt: Can you pull up the verified contract source info and ABI summary for 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Ethereum — I want to see the compiler version, proxy type, and how many read vs write functions it has?

## When to prefer this

Use this endpoint when you need a quick, structured summary of a smart contract's ABI and source metadata without parsing raw Solidity files or querying Blockscout directly. It is ideal for pre-interaction security reviews, automated contract auditing pipelines, or agent workflows that need to classify contracts by function type (read/write/payable) across multiple EVM chains including Ethereum, Base, Optimism, Arbitrum, Polygon, and Gnosis.

## Known failure modes

- Contract address not found or not deployed on the specified chain — returns unverified or empty result
- Invalid 0x address format — likely returns an error or empty response
- Contract exists but source is not verified on Blockscout — verified field will be false with limited ABI data
- Unsupported chain name supplied — may default to Ethereum or return an error
- Network or upstream Blockscout API outage — service unavailable

## How this service works

Verified smart contract source and ABI summary from Blockscout - compiler, proxy, read and write function counts, payable functions and owner-style functions to review

## Output

A JSON object containing the contract's verification status, compiler version, programming language, license, main file name, proxy type, and an ABI summary object with counts of total functions, read functions, write functions, payable functions, owner-style functions, events, and whether a constructor is present. Also includes the chain and data source attribution.

## 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",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "ethereum (default), base, optimism, arbitrum, polygon, gnosis"
      },
      "address": {
       "type": "string",
       "description": "Contract 0x address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "address",
      "abi_summary"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Name"
      },
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "chain": {
       "type": "string",
       "description": "Blockchain the data is for"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "address": {
       "type": "string",
       "description": "Account or contract address"
      },
      "license": {
       "type": [
        "string",
        "null"
       ],
       "description": "License identifier"
      },
      "compiler": {
       "type": [
        "string",
        "null"
       ],
       "description": "Compiler version used"
      },
      "language": {
       "type": [
        "string",
        "null"
       ],
       "description": "Language"
      },
      "verified": {
       "type": "boolean",
       "description": "True when the source code is verified on the explorer"
      },
      "main_file": {
       "type": [
        "string",
        "null"
       ],
       "description": "Main file"
      },
      "proxy_type": {
       "type": [
        "string",
        "null"
       ],
       "description": "Proxy type"
      },
      "abi_summary": {
       "type": "object",
       "properties": {
        "events": {
         "type": [
          "number",
          "null"
        
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-smart-contract-source-abi-summary-91e5e6ad/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)
