# Raw EVM Contract Call (eth_call)

> Raw EVM Contract Call (eth_call) is a paid API for AI agents from flat-rate-llm.kikoribera03.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Executes any read-only Ethereum contract call (eth_call) with raw calldata on five EVM chains and returns the raw hex result, bypassing typed endpoint limitations.

## Facts

- Endpoint: POST https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/call
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/raw-evm-contract-call-eth-call-0b502d27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_02WvJdylMSFJwGuV7i_6t

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 raw-evm-contract-call-eth-call-0b502d27 -d '<json body>'
```

Example prompt: Call the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet with calldata 0x18160ddd and give me the raw result — I need the current total supply straight from the contract.

## When to prefer this

Use this endpoint when no typed sibling endpoint covers the specific contract function you need to invoke — for example, calling proprietary DeFi methods, non-standard token interfaces, or any ABI function where you can supply the encoded calldata directly. Prefer this over higher-level endpoints when you need full control over calldata encoding, or when querying contracts on chains not covered by more specialized tools. Not suitable for state-changing (write) transactions.

## Known failure modes

- Contract does not exist at the given address on the specified chain — returns an error or empty result
- Malformed or misaligned calldata causes a contract revert — returns revert reason or raw revert data
- Unsupported chain identifier — returns an error indicating valid chain options
- Network or RPC timeout on the target chain — returns a timeout or upstream error
- Calldata encodes a state-changing function (write call) — eth_call will still execute but won't persist changes, which may confuse callers
- Payment of $0.001 USDC not provided or rejected — returns HTTP 402

## How this service works

60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.

## Output

A JSON object containing the raw ABI-encoded hex result string (e.g. '0x00000000...') and a convenience decoded uint256 value (asUint) for calls that return a single integer, enabling the caller to parse or further decode the response as needed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to",
  "data"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "Contract address to call."
  },
  "data": {
   "type": "string",
   "description": "0x-prefixed calldata: 4-byte selector plus encoded arguments."
  },
  "from": {
   "type": "string",
   "description": "Optional caller address, for calls that check msg.sender."
  },
  "block": {
   "type": "string",
   "description": "Block tag or number. Defaults to latest."
  },
  "chain": {
   "type": "string",
   "description": "base | ethereum | polygon | arbitrum | optimism."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asUint": {
   "type": "string"
  },
  "result": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/raw-evm-contract-call-eth-call-0b502d27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flat-rate-llm.kikoribera03.workers.dev](https://www.zero.xyz/host/flat-rate-llm.kikoribera03.workers.dev/llms.txt)
