# Base Token Smart Contract Inspector

> Base Token Smart Contract Inspector is a paid API for AI agents from audit-site-web.pga-agent.fr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Fetches raw smart-contract facts for any ERC-20 token on Base (chain 8453): function capabilities, proxy type/admin, source verification, creation block, DEX liquidity in USD, and holder count.

## Facts

- Endpoint: GET https://audit-site-web.pga-agent.fr/api/base-token-facts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-smart-contract-inspector-6f09ec99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1lyniBfrizRaL76ygxkap

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 base-token-smart-contract-inspector-6f09ec99
```

Example prompt: Pull all smart-contract facts for the Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I want to know if it can mint or pause, whether it's an upgradeable proxy and who the admin is, whether the source is verified, how many holders it has, and total DEX liquidity in USD.

## When to prefer this

Use this endpoint when you need raw, sourced smart-contract facts about a specific ERC-20 token deployed on Base (chain 8453), especially for risk assessment workflows that require knowing whether privileged functions (mint, pause, blacklist) exist, whether the contract is an upgradeable proxy, who controls it, and what on-chain liquidity looks like. Prefer this over generic block explorers when you need structured JSON output with a plain-language summary ready for agent consumption.

## Known failure modes

- Invalid or malformed contract address (non-0x, wrong length) returns an error
- Address is not a token contract on Base (chain 8453) — no token data found
- Contract source is unverified — source-dependent fields may be null or absent
- RPC or Blockscout upstream timeout causes partial or failed response
- Non-ERC-20 contract address (e.g. EOA or non-token contract) returns empty or error
- Token has no DEX pairs — liquidity fields return zero or null

## How this service works

Smart-contract inspection for any Base token address: which functions exist (mint, pause, blacklist, owner-only), proxy type and admin, verified source, creation block, DEX pool reserves in USD, holder count. Raw facts with sources and timestamps. Information, not investment advice.

## Output

A JSON object with: token name/symbol, a human-readable summary paragraph, smart-contract capability flags (mint, pause, blacklist_or_freeze, upgradeable_proxy, owner_renounced, tax_on_sale_percent), proxy admin and implementation addresses, owner address, source verification status, creation block and timestamp, DEX total liquidity in USD across listed pairs, holder count, and an array of named data sources each with a fetched_at timestamp. Also includes a disclaimer that the data is informational only.

## 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": {
      "address": {
       "type": "string",
       "description": "Token contract address on Base (0x followed by 40 hex characters), e.g. a token you want contract facts for"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "token": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "symbol": {
         "type": "string"
        }
       }
      },
      "market": {
       "type": "object",
       "properties": {
        "total_liquidity_usd": {
         "type": "number"
        }
       }
      },
      "holders": {
       "type": "object",
       "properties": {
        "count": {
         "type": "integer"
        }
       }
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "fetched_at": {
          "type": "string"
         }
        }
       }
      },
      "summary": {
       "type": "string"
      },
      "contract": {
       "type": "object",
       "properties": {
        "created_at": {
         "type": "string"
        },
        "created_block": {
         "type": "integer"
        },
        "source_verified": {
         "type": "boolean"
        }
       }
      },
      "disclaimer": {
       "type": "string"
      },
      "capabilities": {
       "type": "object",
       "properties": {
        "mint": {
         "type": "boolean"
        },
        "pause": {
         "type": "boolean"
        },
        "proxy_admin": {
         "type": "string"
        },
        "owner_renounced": {
         "type": "boolean"
        },
        "upgradeable_proxy": {
         "type": "boolean"
        },
        "blacklist_or_freeze": {
         "type": "boolean"
        },
        "tax_on_sale_percent": {

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": {
   "name": "USDC",
   "symbol": "USDC"
  },
  "market": {
   "total_liquidity_usd": 47235818.44
  },
  "holders": {
   "count": 13046172
  },
  "sources": [
   {
    "name": "Base public RPC",
    "fetched_at": "2026-10-03T12:55:26Z"
   },
   {
    "name": "Blockscout (verified source)",
    "fetched_at": "2026-10-03T12:55:26Z"
   },
   {
    "name": "Blockscout (token)",
    "fetched_at": "2026-10-03T12:55:27Z"
   }
  ],
  "summary": "Source code is verified (FiatTokenProxy, compiler 0.6.12+commit.27d51765). Contract is an upgradeable proxy; implementation 0x2Ce6311ddAE708829bc0784C967b7d77D19FD779, admin 0x4fc7850364958d97B4d3f5A08f79db2493f8cA44. Owner is 0x3ABd6f64A422225E61E435baE41db12096106df7; the code lets privileged addresses mint new tokens, pause transfers and blacklist or freeze addresses. 13,046,172 holder addresses; DEX liquidity $47,235,818 across 30 pairs listed.",
  "contract": {
   "created_at": "2023-08-18T18:36:29Z",
   "created_block": 2797221,
   "source_verified": true
  },
  "disclaimer": "information, not investment advice",
  "capabilities": {
   "mint": true,
   "pause": true,
   "proxy_admin": "0x4fc7850364958d97B4d3f5A08f79db2493f8cA44",
   "owner_renounced": false,
   "upgradeable_proxy": true,
   "blacklist_or_freeze": true,
   "tax_on_sale_percent": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-smart-contract-inspector-6f09ec99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from audit-site-web.pga-agent.fr](https://www.zero.xyz/host/audit-site-web.pga-agent.fr/llms.txt)
