# Walletglass — wallet

> Walletglass — wallet is a paid API for AI agents from oraclepost.higgsfield.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-19).

Returns live ETH and USDC balances for any Base address, read directly from the chain via eth_getBalance and USDC balanceOf, with raw and decimal values plus the block number.

## Facts

- Endpoint: GET https://oraclepost.higgsfield.app/api/premium/balance
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/walletglass-wallet-b2c34535
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_elxTRqjQu6kRY1EGZC-o6

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 walletglass-wallet-b2c34535
```

Example prompt: What are the current ETH and USDC balances for the Base address 0x1234567890abcdef1234567890abcdef12345678 — read straight from the chain?

## When to prefer this

Choose this endpoint when you need a trustless, uncached, live on-chain balance read for both ETH and USDC on Base in a single call. Ideal when you cannot rely on third-party indexers or cached APIs and need the exact block-level snapshot. Prefer over cached alternatives when precision and freshness are critical, such as pre-trade checks or post-transfer confirmations.

## Known failure modes

- Invalid or malformed address (not 0x-prefixed or wrong length) results in an error response
- Address not found on Base — returns zero balances rather than an error
- Node connectivity issues may cause transient failures or timeouts
- Payment failure (x402) if USDC payment of $0.02 is not provided or rejected

## How this service works

ETH and USDC balance of any address on Base, read live from the chain (eth_getBalance + USDC balanceOf) at request time. Pass ?address=0x... . Returns raw and decimal values plus the block number the read was made at. No third-party API, no cache.

## Output

Returns the ETH balance (in both raw wei and human-readable decimal) and USDC balance (in both raw units and decimal), along with the block number at which the on-chain read was made. No caching — values reflect the live chain state at request time.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "EVM address on Base, 0x-prefixed, 40 hex chars"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/walletglass-wallet-b2c34535/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oraclepost.higgsfield.app](https://www.zero.xyz/host/oraclepost.higgsfield.app/llms.txt)
