# Vextorium EVM Contract ABI Lookup

> Vextorium EVM Contract ABI Lookup is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-20).

Returns the full verified ABI of any EVM smart contract from Sourcify, including function signatures, selectors, input/output types, read/write flags, events with topic0, and proxy implementation addresses.

## Facts

- Endpoint: POST https://api.vextorium.com/contrato-abi-pago?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-evm-contract-abi-lookup-094b37fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xjU7JzqSgjLx8qiUFA85G

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 vextorium-evm-contract-abi-lookup-094b37fa -d '<json body>'
```

Example prompt: Can you fetch the full verified ABI for the DAI contract at 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum, including all function signatures, selectors, and events?

## When to prefer this

Choose this endpoint when you need verified ABI data from Sourcify for any EVM-compatible chain (Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, etc.), especially when you want structured function signatures, selectors, and event topic0 hashes ready for use in smart contract interactions or on-chain monitoring. Prefer this over generic ABI fetching when you need proxy detection and implementation resolution, or when you need the para_leer_contrato format for cast/ethers read calls.

## Known failure modes

- Contract address not found or not verified on Sourcify — returns null fields or empty arrays
- Invalid or unsupported network name — request fails or returns error
- Malformed contract address — validation error on input
- Contract exists on-chain but source is unverified — ABI unavailable
- Network connectivity issues to Sourcify backend — timeout or error response

## How this service works

ABI of a verified EVM contract (Sourcify): every function with signature, selector, inputs, outputs and read/write flag, plus events with topic0 and proxy implementations. Ready-to-use signatures for leer-contrato.

## Output

A JSON object containing the contract name, source (Sourcify), chain ID, contract address, a boolean indicating whether it is a proxy, an array of functions (each with signature, selector, inputs, outputs, mutability, read flag, and a ready-to-use cast-compatible signature), an array of events (each with signature, topic0, and indexed parameter names), and an array of proxy implementation addresses.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "red": {
   "type": "string",
   "description": "ethereum, base, arbitrum, optimism, polygon, bsc... or chainId"
  },
  "tipo": {
   "enum": [
    "todo",
    "lectura",
    "escritura"
   ],
   "type": "string"
  },
  "direccion": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nota": null,
  "fuente": "Sourcify",
  "nombre": "Dai",
  "eventos": [
   {
    "firma": "Approval(address,address,uint256)",
    "topic0": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
    "indexados": [
     "src",
     "guy"
    ]
   },
   {
    "firma": "LogNote(bytes4,address,bytes32,bytes32,bytes)",
    "topic0": "0xd3d8bec38a91a5f4411247483bc030a174e77cda9c0351924c759f41453aa5e8",
    "indexados": [
     "sig",
     "usr"
    ]
   }
  ],
  "chain_id": 1,
  "contrato": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
  "es_proxy": false,
  "funciones": [
   {
    "firma": "DOMAIN_SEPARATOR()",
    "lectura": true,
    "salidas": "bytes32",
    "entradas": [],
    "selector": "0x3644e515",
    "mutabilidad": "view",
    "para_leer_contrato": "DOMAIN_SEPARATOR()(bytes32)"
   },
   {
    "firma": "PERMIT_TYPEHASH()",
    "lectura": true,
    "salidas": "bytes32",
    "entradas": [],
    "selector": "0x30adf81f",
    "mutabilidad": "view",
    "para_leer_contrato": "PERMIT_TYPEHASH()(bytes32)"
   }
  ],
  "implementaciones": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-evm-contract-abi-lookup-094b37fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
