# Joe EVM RPC – Live Balance

> Joe EVM RPC – Live Balance is a paid API for AI agents from joe-evm-rpc.marnick-yezo.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches the live native ETH balance and optional ERC-20 token balances for a given wallet address on Base or Ethereum mainnet.

## Facts

- Endpoint: GET https://joe-evm-rpc.marnick-yezo.workers.dev/api/chain/live-balance
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/joe-evm-rpc-live-balance-f9810d78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0jXVw7kLheF_uZJvxHKkb

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 joe-evm-rpc-live-balance-f9810d78
```

Example prompt: What's the live ETH balance and USDC balance (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base mainnet?

## When to prefer this

Choose this endpoint when an AI agent needs real-time, on-chain wallet balances on Base or Ethereum mainnet with per-call micropayment pricing ($0.001 USDC via x402), without needing API keys or subscriptions. It is ideal for agents that need to check ETH and multiple ERC-20 balances in a single call. Prefer it over general-purpose Ethereum node providers when operating in a pay-per-use, agent-native context where x402 payment rails are already available.

## Known failure modes

- Invalid wallet address format (not a valid 0x hex address) — request rejected at schema validation
- Invalid ERC-20 token contract address — token entry may return zero or error
- Network not supported — only 'base' and 'ethereum' are valid; other values rejected
- Payment failure — x402 micropayment of $0.001 USDC not settled, request blocked
- RPC upstream timeout — underlying Base/Ethereum node unreachable, 502/504 error
- More than 20 token addresses supplied — schema validation error
- No response for a brand-new wallet with no on-chain history — balances returned as 0x0

## How this service works

Live Base and Ethereum RPC for AI agents: block tip, balances, transactions, and ENS. $0.001 USDC per call on Base.

## Output

Returns a JSON object containing the wallet's native ETH balance in hex, an array of ERC-20 token balances (each with symbol, hex balance, contract address, and decimals), plus metadata including the RPC endpoint used, network name, cost in USDC, and a unique request ID.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "account"
     ],
     "properties": {
      "tokens": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}(,0x[a-fA-F0-9]{40}){0,19}$",
       "maxLength": 859,
       "description": "Comma-separated ERC-20 addresses, max 20"
      },
      "account": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "Wallet address (alias: address)"
      },
      "network": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "default": "base",
       "description": "EVM network. Default base."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "tokens": [
    {
     "symbol": "USDC",
     "balance": "0x0",
     "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "decimals": 6
    }
   ],
   "address": "0x0000000000000000000000000000000000000000",
   "eth_balance": "0x0"
  },
  "meta": {
   "rpc": "https://mainnet.base.org",
   "network": "base",
   "endpoint": "/api/chain/live-balance",
   "cost_usdc": "0.001",
   "request_id": "00000000abcdef01"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/joe-evm-rpc-live-balance-f9810d78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from joe-evm-rpc.marnick-yezo.workers.dev](https://www.zero.xyz/host/joe-evm-rpc.marnick-yezo.workers.dev/llms.txt)
