# Eth Call – Celo Contract Read (eth_call)

> Eth Call – Celo Contract Read (eth_call) is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Executes a read-only eth_call on the Celo blockchain, sending ABI-encoded calldata to any contract and returning raw hex result data without creating a transaction.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/celo/call?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-eth-call-celo-contract-read-b67be1f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CAlDLx_fmUcmC2xoYy0j-

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 agent-data-tools-revmesh2074-workers-dev-eth-call-celo-contract-read-b67be1f5
```

Example prompt: Call the USDC contract on Celo at 0xcebA9300f2b948710d2653dD7B07f33A8B32118C with calldata 0x18160ddd to read its totalSupply, and give me the raw hex result.

## When to prefer this

Use this endpoint when you need to read any view or pure function on a Celo smart contract that does not have a dedicated tool. Ideal for arbitrary contract reads — especially ERC-20 functions like totalSupply, balanceOf, allowance, or any custom getter — when you already have the function selector and can ABI-encode the arguments. Choose Celo-specific alternatives for Ethereum, Base, Arbitrum, Optimism, or Polygon.

## Known failure modes

- 422 with revert reason if the contract call reverts (not charged)
- Invalid or non-contract 'to' address returns an error
- Malformed ABI-encoded calldata (wrong selector or argument encoding) causes revert or garbage result
- Calldata exceeding 8 KB is rejected
- Network or RPC node timeouts may return 5xx errors

## How this service works

eth_call: read-only contract call on Celo at the latest block, without a transaction or gas: send ABI-encoded calldata, or a function signature such as balanceOf(address) with args and the call is encoded and its result decoded for you. Use to read any view function that has no dedicated tool (the example reads USDC totalSupply). Calldata up to 8 KB; a call that reverts is 422 with the reason, uncharged.

## Output

Returns a JSON object containing the raw hex-encoded return data from the contract call (result), the block number at which the call was made (block), the chain name ('celo'), the chain ID, and the byte length of the result. If the contract call reverts, returns HTTP 422 with the revert reason; failed calls are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to",
  "data"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "0x contract address to call"
  },
  "args": {
   "type": "string",
   "description": "Arguments for a function signature in data: comma separated, or a JSON array for arrays and tuples"
  },
  "data": {
   "type": "string",
   "description": "0x ABI-encoded calldata (4-byte selector plus arguments), or a function signature: totalSupply(), balanceOf(address), or with its result types, balanceOf(address) returns (uint256)"
  },
  "from": {
   "type": "string",
   "description": "Optional 0x sender address for calls that check msg.sender"
  },
  "returns": {
   "type": "string",
   "description": "Result types to decode when data is a signature without them, for example uint256 or address,uint8"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "data": {
   "type": "string"
  },
  "block": {
   "type": "number"
  },
  "chain": {
   "type": "string"
  },
  "result": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "resultBytes": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-eth-call-celo-contract-read-b67be1f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
