{
  "aid": "chainstate.chainstate.schemasure.com",
  "name": "ChainState",
  "type": "index",
  "description": "ChainState answers everything an agent needs to know about a Base address before interacting with it, in one paid call rather than four to six a-la-carte lookups. It reports whether the address holds code and how much, resolves proxies across all seven known slot layouts — including the legacy OpenZeppelin slot that Base USDC really uses, which an EIP-1967-only detector misses entirely — and returns the implementation behind the indirection, ERC-165 interface support, behavioural ERC-20 detection, token metadata, and the balances you asked for. There is no model anywhere in it. A contract that does not answer supportsInterface is reported as null, never false, and there is deliberately no reverse-name field: a name the subject can set for itself, published without a forward check, would be the one spoofable value in the response.",
  "image": "https://chainstate.schemasure.com/icon.svg",
  "tags": [
    "base",
    "address",
    "proxy",
    "erc20",
    "erc165",
    "token-metadata",
    "balances",
    "denylist",
    "agent-safety",
    "x402",
    "deterministic"
  ],
  "created": "2026-08-03",
  "modified": "2026-09-19",
  "specificationVersion": "0.18",
  "apis": [
    {
      "aid": "chainstate.v1.chain.state",
      "name": "ChainState — Profile a Base address: code, proxy, interfaces, token metadata, balances, denylist",
      "description": "Profile a Base address in one call instead of four to six lookups. Returns contract or externally owned plus code size, proxy detection across all seven slot layouts including the legacy OpenZeppelin slot Base USDC uses, the resolved implementation, ERC-165 and behavioural ERC-20 detection, token metadata, requested ERC-20 balances, and denylist hits. Answers unknown rather than guessing, and null rather than false when a contract stays silent. Not a guarantee that an address is safe.",
      "humanURL": "https://chainstate.schemasure.com/docs",
      "baseURL": "https://chainstate.schemasure.com/v1/chain/state",
      "tags": [
        "base",
        "address",
        "proxy",
        "erc20",
        "erc165",
        "token-metadata",
        "balances",
        "denylist",
        "agent-safety",
        "x402",
        "deterministic"
      ],
      "properties": [
        {
          "type": "OpenAPI",
          "url": "https://chainstate.schemasure.com/openapi.json"
        },
        {
          "type": "x402",
          "url": "https://chainstate.schemasure.com/.well-known/x402.json"
        },
        {
          "type": "Pricing",
          "url": "https://chainstate.schemasure.com/.well-known/pricing.json"
        },
        {
          "type": "Benchmarks",
          "url": "https://chainstate.schemasure.com/.well-known/benchmarks.json"
        },
        {
          "type": "LLMs",
          "url": "https://chainstate.schemasure.com/llms.txt"
        }
      ]
    }
  ]
}