# Beggar Bot SimCall – EVM Contract Read (Base Mainnet)

> Beggar Bot SimCall – EVM Contract Read (Base Mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Simulates a read-only EVM smart contract call on Base mainnet (or Base Sepolia) and returns the decoded result, paid via x402 at $0.02 USDC per call.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/simcall?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-simcall-evm-contract-read-base-mainnet-b498cf3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zEufC91NduSZHQjWBmhxG

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 beggar-bot-simcall-evm-contract-read-base-mainnet-b498cf3a
```

Example prompt: Simulate a balanceOf(address) call on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base mainnet for the address 0xAbC...123 and return the result decoded as uint256.

## When to prefer this

Use this endpoint when you need to read on-chain state from a Base mainnet (or Base Sepolia) smart contract without sending a real transaction or setting up your own RPC node. It is ideal for agents that need decoded, typed output from view/pure functions and want a simple HTTP GET interface rather than raw JSON-RPC eth_call. Prefer this over generic RPC providers when you want metered, pay-per-call access via x402 and do not want to manage API keys or node infrastructure.

## Known failure modes

- Invalid contract address returns an error or empty result
- Mismatched return type schema causes decoding failure
- Contract reverts the simulated call (e.g. invalid args), returning a revert reason
- Payment failure via x402 if insufficient USDC balance or wrong payTo address
- Unsupported chain identifier returns a 400 error
- Malformed calldata or function signature causes a parse error
- Rate limiting or worker timeout on complex calls

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON object containing the decoded return value(s) from the simulated EVM contract call, including typed output matching the specified return types (e.g. uint256, address, bool), along with raw hex data and call metadata such as block number and chain used.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "contract 0x"
      },
      "sig": {
       "type": "string",
       "description": "e.g. balanceOf(address)"
      },
      "args": {
       "type": "string",
       "description": "comma args"
      },
      "data": {
       "type": "string",
       "description": "or raw 0x calldata"
      },
      "from": {
       "type": "string",
       "description": "optional sender"
      },
      "block": {
       "type": "string",
       "description": "latest or number"
      },
      "chain": {
       "type": "string",
       "description": "base (default)"
      },
      "value": {
       "type": "string",
       "description": "wei"
      },
      "returns": {
       "type": "string",
       "description": "comma types e.g. uint256"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-simcall-evm-contract-read-base-mainnet-b498cf3a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
