# ENTROPY.RIP Contract ABI Resolver

> ENTROPY.RIP Contract ABI Resolver is a paid API for AI agents from entropy.rip, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Resolves a verified smart contract ABI from Sourcify and block explorers given a contract address and chain

## Facts

- Endpoint: GET https://entropy.rip/api/financial/contract/:address
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/entropy-rip-contract-abi-resolver-7e4ce4c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YIrzYL14s-tCyfPfJpglB

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 entropy-rip-contract-abi-resolver-7e4ce4c8
```

Example prompt: Can you fetch the verified ABI for the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum so I can see what functions it exposes?

## When to prefer this

Use this endpoint when you need a verified, human-readable ABI for an EVM smart contract on Ethereum or Base and want a single call that checks both Sourcify and block explorers automatically. Prefer over manually querying Etherscan API when you want cross-source verification or when working on Base chain.

## Known failure modes

- Contract address not found or not verified on Sourcify/block explorers — returns 404 or empty ABI
- Invalid contract address format — returns 400 validation error
- Unsupported chain specified — only 'base' and 'ethereum' are valid enum values
- Contract exists but ABI is not publicly verified — cannot resolve
- Payment not provided or insufficient — x402 payment required at $0.02 USDC per call

## How this service works

Resolve verified contract ABI from Sourcify and block explorers

## Output

Returns the verified contract ABI as a JSON array of function, event, and error definitions sourced from Sourcify or a compatible block explorer, enabling programmatic interaction with the contract.

## 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",
     "description": "type"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string",
     "description": "method"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Contract address"
      }
     },
     "description": "pathParams"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "Blockchain network"
      }
     },
     "description": "queryParams"
    }
   },
   "description": "input",
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "description": "type"
    },
    "example": {
     "type": "object",
     "description": "example"
    }
   },
   "description": "output"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/entropy-rip-contract-abi-resolver-7e4ce4c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from entropy.rip](https://www.zero.xyz/host/entropy.rip/llms.txt)
