# Base Wallet State

> Base Wallet State is a paid API for AI agents from appearing-clinics-show-wrote.trycloudflare.com, paid per call via x402, price unknown, status down (last checked 2026-09-15).

Returns native ETH balance, next nonce, and contract/EOA classification for a Base network wallet address in a single read-only batch call.

## Facts

- Endpoint: GET https://appearing-clinics-show-wrote.trycloudflare.com/base-wallet-state-sample
- Price: price unknown
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-wallet-state-489a7ad6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2I9eZcYq9p1RPZGTx9XbU

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 base-wallet-state-489a7ad6
```

Example prompt: Can you check the wallet state for 0x1234...abcd on Base — I need the ETH balance, the next nonce, and whether it's a contract or a regular account?

## When to prefer this

Choose this endpoint when you need ETH balance, nonce, and contract/EOA classification for a Base L2 address in a single efficient call, rather than making three separate RPC requests. Prefer it over raw RPC calls when you want a normalized, bounded response format. Best suited for pre-transaction checks, wallet monitoring, and on-chain identity classification on Base network specifically.

## Known failure modes

- Invalid or malformed address returns an error response
- Address with no on-chain activity may return zero balance and nonce 0
- Network congestion or RPC issues may cause timeouts
- The free sample endpoint returns fixed example data rather than live wallet data for an arbitrary address

## How this service works

Free Base wallet-state sample for the service receiver. The paid $0.0035 API returns native ETH balance, next nonce, and contract/account classification in one bounded read-only batch.

## Output

A structured batch response containing: (1) the native ETH balance of the queried Base address, (2) the next pending nonce for that address, and (3) a classification indicating whether the address is a smart contract or an externally owned account (EOA).

## 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": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-wallet-state-489a7ad6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from appearing-clinics-show-wrote.trycloudflare.com](https://www.zero.xyz/host/appearing-clinics-show-wrote.trycloudflare.com/llms.txt)
