# EVM Chain Balance Lookup (rockndefi.xyz)

> EVM Chain Balance Lookup (rockndefi.xyz) is a paid API for AI agents from rockndefi.xyz:8443, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Fetches the native token balance (ETH/ETH-equivalent) and nonce for a given EVM address on Base or Ethereum, paid per-call via USDC on Base.

## Facts

- Endpoint: GET https://rockndefi.xyz:8443/v1/chain/balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-chain-balance-lookup-rockndefi-xyz-85085265
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K-7yeFSLiyTht_uI4Jeb-

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 evm-chain-balance-lookup-rockndefi-xyz-85085265
```

Example prompt: What's the current ETH balance and nonce for the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base?

## When to prefer this

Choose this endpoint when you need a quick, no-account-required on-chain balance and nonce lookup for a Base or Ethereum address, especially in agent pipelines that support x402 micropayments. Prefer it over node RPC calls when you lack direct RPC access or want a simple HTTP GET without managing Web3 libraries.

## Known failure modes

- Invalid or malformed 0x address returns an error
- Unsupported chain value (anything other than 'base' or 'ethereum') returns an error
- Network or RPC node unavailability may cause timeouts
- Payment failure via x402 (insufficient USDC balance) prevents the call from executing

## How this service works

Pay-per-call website uptime/latency/TLS checks and fetch-to-Markdown, measured from US Central (St. Louis). USDC on Base via x402. No account or API key.

## Output

Returns a JSON object with the queried address, chain name, current block number, nonce, native token balance in ETH (human-readable string), and balance in wei (raw integer equivalent).

## 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": [
      "chain",
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "example": "base",
       "description": "base or ethereum"
      },
      "address": {
       "type": "string",
       "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
       "description": "0x EVM address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 36000000,
  "chain": "base",
  "nonce": 5,
  "address": "0x...",
  "balance_eth": "0.0123",
  "balance_wei": "12300000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-chain-balance-lookup-rockndefi-xyz-85085265/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rockndefi.xyz:8443](https://www.zero.xyz/host/rockndefi.xyz%3A8443/llms.txt)
