# Xerxes Ethereum Balance Lookup (eth_getBalance)

> Xerxes Ethereum Balance Lookup (eth_getBalance) is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-03).

Returns the Ethereum mainnet balance of a given address in wei by calling eth_getBalance.

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/eth_getbalance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xerxes-ethereum-balance-lookup-eth-getbalance-b149b3bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lbDauyfQanWOaI4gcP9xt

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 xerxes-ethereum-balance-lookup-eth-getbalance-b149b3bf
```

Example prompt: What's the current ETH balance of the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045? I need the raw wei amount from Ethereum mainnet.

## When to prefer this

Use this endpoint when you need the raw wei ETH balance of a specific Ethereum mainnet address with minimal latency. Prefer it over token-balance endpoints when querying native ETH (not ERC-20). It is ideal for pre-flight funding checks, portfolio tracking, or treasury monitoring where you need the precise on-chain native balance.

## Known failure modes

- Invalid address format (not 0x + 40 hex) — request rejected or error response
- Address is valid but has zero balance — returns result: 0, ok: true
- Network or RPC node unavailable — ok: false with error message
- Malformed query parameter — HTTP 400 or error in response body

## How this service works

Returns the balance of an Ethereum address in wei via eth_getBalance. Takes one query parameter: address (0x + 40 hex). Query: address (0x + 40 hex).

## Output

Returns a JSON object with: ok (boolean success flag), result (integer balance in wei), hex (balance as hex string), chain (e.g. 'ethereum'), method (e.g. 'eth_getBalance'), and service name. On error, ok is false and an error string is present.

## 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",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "0x + 40 hex"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "service"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "hex": {
       "type": [
        "string",
        "null"
       ]
      },
      "chain": {
       "type": "string"
      },
      "error": {
       "type": "string",
       "description": "present when ok is false"
      },
      "method": {
       "type": "string"
      },
      "result": {
       "type": "integer"
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xerxes-ethereum-balance-lookup-eth-getbalance-b149b3bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ari001.tailb4ac3a.ts.net](https://www.zero.xyz/host/ari001.tailb4ac3a.ts.net/llms.txt)
