# Vextorium EVM Contract Read

> Vextorium EVM Contract Read 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-11).

Calls any read-only (view) function on an EVM smart contract by function signature and returns decoded results without signing or broadcasting a transaction.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/contract-read?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-evm-contract-read-782b1b0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3G4yoQZlCXYZ8uIWxeA_0

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-read-782b1b0b -d '<json body>'
```

Example prompt: What is the token balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on the USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? Call balanceOf(address)(uint256) with that wallet address.

## When to prefer this

Choose this endpoint when you need to read on-chain state from any EVM-compatible contract (Base, Ethereum, Arbitrum, Optimism, Polygon) using only the function signature — no ABI file, no wallet, no RPC node setup required. Ideal for agents that need to query token balances, NFT ownership, protocol state, or any view function in a single HTTP call without managing Web3 infrastructure.

## Known failure modes

- Invalid function signature format returns a parsing error
- Contract address does not exist on the specified network returns an RPC error
- Wrong argument types or count cause ABI decoding failure
- Unsupported network name returns a validation error
- Non-view (state-changing) functions cannot be called and will fail
- Network RPC unavailability causes a timeout or upstream error

## How this service works

Call any read-only (view) function of an EVM contract from its signature, e.g. balanceOf(address)(uint256), with arguments, and get the decoded result. Supports address, bool, intN/uintN, bytesN, string, bytes and arrays. Read-only: nothing is signed or sent.

## Output

A JSON object containing the decoded return values as an array of strings, the network, contract address, function signature, 4-byte function selector, and the raw ABI-encoded hex response from the node.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "contract",
      "function"
     ],
     "properties": {
      "network": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "contract": {
       "type": "string"
      },
      "function": {
       "type": "string",
       "description": "Signature with output types, e.g. totalSupply()(uint256)"
      },
      "arguments": {
       "type": "array",
       "description": "Arguments in order"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "result": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "string"
        ]
       }
      },
      "network": {
       "type": [
        "string",
        "null"
       ]
      },
      "contract": {
       "type": [
        "string",
        "null"
       ]
      },
      "function": {
       "type": [
        "string",
        "null"
       ]
      },
      "selector": {
       "type": [
        "string",
        "null"
       ]
      },
      "result_hex": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": [
   "USD Coin"
  ],
  "network": "base",
  "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "function": "name()",
  "selector": "0x06fdde03",
  "result_hex": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000855534420436f696e000000000000000000000000000000000000000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-evm-contract-read-782b1b0b/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)
