# Wallet Approval Audit — Ethereum Contract ABI Fetcher

> Wallet Approval Audit — Ethereum Contract ABI Fetcher is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Returns the verified ABI of an Ethereum smart contract as JSON, enabling wallet approval auditing and contract interaction analysis.

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/wallet_approval_audit?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-approval-audit-ethereum-contract-abi-fetcher-d1f9cb8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pvMXS0bXEj_y7C1FHyC2x

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 wallet-approval-audit-ethereum-contract-abi-fetcher-d1f9cb8b
```

Example prompt: Can you pull the verified ABI for the Ethereum contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 so I can audit what functions it exposes before approving it in my wallet?

## When to prefer this

Use this endpoint when you need the ABI of a specific Ethereum mainnet smart contract for wallet approval auditing, contract interaction planning, or proxy detection. Prefer this over generic Etherscan API wrappers when you need a structured, agent-friendly response that includes proxy resolution and verification status in a single call. Best suited for security-conscious workflows where you want to inspect what a contract does before approving or signing a transaction.

## Known failure modes

- Invalid contract address format (not 0x + 40 hex) — request rejected
- Contract not verified on Etherscan — returns verified: false with null ABI
- Contract address does not exist on Ethereum mainnet — ok: false with error
- Network or RPC timeout — ok: false with error message
- Payment failure via x402 — request not processed

## How this service works

Returns the ABI of a verified Ethereum smart contract as JSON, for use in wallet approval auditing. Takes a contract address (0x + 40 hex). Query: address (contract, 0x + 40 hex).

## Output

Returns a JSON object with: ok (boolean success flag), a result object containing the contract ABI as a JSON array (or null if unverified), verification status (boolean), proxy detection (isProxy boolean, proxy details object, implementation address), the contract address, and optionally a match string. On failure, an error string is included.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "contract, 0x + 40 hex"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "service"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "chain": {
       "type": "string"
      },
      "error": {
       "type": "string",
       "description": "present when ok is false"
      },
      "method": {
       "type": "string"
      },
      "result": {
       "type": "object",
       "properties": {
        "abi": {
         "type": [
          "array",
          "null"
         ]
        },
        "match": {
         "type": [
          "string",
          "null"
         ]
        },
        "proxy": {
         "type": [
          "object",
          "null"
         ]
        },
        "address": {
         "type": "string",
         "pattern": "^0x[0-9a-fA-F]{40}$"
        },
        "isProxy": {
         "type": [
          "boolean",
          "null"
         ]
        },
        "verified": {
         "type": "boolean"
        },
        "implementation": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-approval-audit-ethereum-contract-abi-fetcher-d1f9cb8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ari001.tailb4ac3a.ts.net](https://www.zero.xyz/host/ari001.tailb4ac3a.ts.net/llms.txt)
