# DopamineDesk EVM Call – Read-Only Smart Contract Caller

> DopamineDesk EVM Call – Read-Only Smart Contract Caller is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Executes a read-only EVM call (eth_call) against a smart contract on Base, Ethereum, or Arbitrum and returns the raw return data without broadcasting a transaction.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_call
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dopaminedesk-evm-call-read-only-smart-contract-caller-0ede32ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ttuJfBb28XVUG7ctCjOpP

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 dopaminedesk-evm-call-read-only-smart-contract-caller-0ede32ee
```

Example prompt: Call the USDC contract on Base at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA with calldata 0x70a08231000000000000000000000000<wallet_address> to check the token balance — use the latest block.

## When to prefer this

Choose this endpoint when you need to read on-chain smart contract state from Base, Ethereum, or Arbitrum without setting up your own RPC node or Web3 library — particularly useful in agent workflows where you need contract data mid-task and want pay-per-use USDC billing via x402 rather than managing API keys or subscriptions. Prefer it for simple view/pure function calls; it does not broadcast transactions.

## Known failure modes

- Invalid contract address returns success:false with empty return_data
- Malformed or oversized calldata (>32,768 bytes) causes a 400 error
- Unsupported chain name (anything other than base, ethereum, arbitrum) returns an error
- Contract reverts the call — return_data may contain a revert reason in ABI-encoded form
- Invalid block tag or non-existent block height causes lookup failure
- Payment failure via x402 results in 402 response before the call is executed

## How this service works

Execute one bounded eth_call against Base, Ethereum, or Arbitrum and return raw deterministic call data without signing or broadcasting.

## Output

A JSON object containing: 'network' (chain name), 'success' (boolean), 'broadcast' (always false for read calls), 'return_data' (0x-prefixed hex string of the ABI-encoded return value), and 'return_data_bytes' (integer byte length of the return data). The agent must ABI-decode return_data according to the function's output types to extract human-readable values.

## 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"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Destination contract address."
      },
      "data": {
       "type": "string",
       "description": "0x-prefixed calldata, limited to 32,768 bytes; defaults to 0x."
      },
      "from": {
       "type": "string",
       "description": "Optional caller address for call context."
      },
      "block": {
       "type": "string",
       "description": "Block tag or height; defaults to latest."
      },
      "chain": {
       "type": "string",
       "description": "base, ethereum, or arbitrum; defaults to base."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "network",
      "broadcast",
      "return_data",
      "return_data_bytes"
     ],
     "properties": {
      "network": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "broadcast": {
       "type": "boolean"
      },
      "return_data": {
       "type": "string"
      },
      "return_data_bytes": {
       "type": "integer"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "base",
  "success": true,
  "broadcast": false,
  "return_data": "0x...",
  "return_data_bytes": 32
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-evm-call-read-only-smart-contract-caller-0ede32ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
