# Axiomworks EVM eth_call Read-Only Contract Caller

> Axiomworks EVM eth_call Read-Only Contract Caller is a paid API for AI agents from api.axiomworks.co.uk, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-12).

Executes a read-only eth_call on an EVM smart contract and returns the raw hex result plus best-effort decoded uint/address/string values and revert reason

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/chain/call?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axiomworks-evm-eth-call-read-only-contract-caller-ef0e9b13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TpdbuY_x8x7qwrg4XnwI6

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 axiomworks-evm-eth-call-read-only-contract-caller-ef0e9b13
```

Example prompt: Can you call the totalSupply function (selector 0x18160ddd) on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Base chain and tell me what value comes back?

## When to prefer this

Use this endpoint when you need to query on-chain contract state without sending a transaction or paying gas — ideal for reading view/pure functions, checking token balances or supplies, inspecting DeFi protocol state, or validating whether a call would revert before executing it. Prefer over a full RPC provider when you need a lightweight, pay-per-call approach with built-in ABI decoding and no need to manage an API key or node subscription. Best for agents that occasionally need on-chain reads across multiple EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon).

## Known failure modes

- Rate limit exceeded on the underlying public RPC node — returns reverted:true with an error message directing to a paid node
- Invalid contract address format — rejected by input schema validation
- Unsupported chain value — only base, ethereum, arbitrum, optimism, polygon are accepted
- Malformed ABI-encoded calldata — call may revert or return garbage data
- Contract does not exist at the given address — may return empty hex or revert
- x402 payment failure — call not executed if USDC micropayment cannot be completed

## How this service works

Read-only contract call via eth_call (no transaction sent): pass to + ABI-encoded data, get the raw return hex plus best-effort uint/address/string decodes and revert reason. Example: {to:"0x8335…2913", data:"0x18160ddd", chain:"base"}. $0.002.

## Output

A JSON object containing: the target contract address, chain name, chain ID, the raw hex return value, best-effort decoded fields (as_uint, as_address, as_string), a boolean reverted flag, and revert_data if the call reverted. Source is always eth_call.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "to",
      "data"
     ],
     "properties": {
      "to": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Contract"
      },
      "data": {
       "type": "string",
       "description": "0x calldata"
      },
      "from": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Optional caller"
      },
      "block": {
       "type": "string"
      },
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "EVM chain (default base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string"
      },
      "as_uint": {
       "type": [
        "string",
        "null"
       ]
      },
      "reverted": {
       "type": "boolean"
      },
      "as_string": {
       "type": [
        "string",
        "null"
       ]
      },
      "as_address": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "chain": "base",
  "error": "Rate limit exceeded. To obtain higher limits, please request a personal token or a dedicated node: https://www.allnodes.com/publicnode",
  "source": "eth_call",
  "chain_id": 8453,
  "reverted": true,
  "revert_data": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axiomworks-evm-eth-call-read-only-contract-caller-ef0e9b13/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.axiomworks.co.uk](https://www.zero.xyz/host/api.axiomworks.co.uk/llms.txt)
