# Chain Native Balance Lookup

> Chain Native Balance Lookup is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Returns the native token balance for a given Ethereum or Base wallet address, payable via x402 micropayment protocol.

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/chain/native-balance?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-native-balance-lookup-f2d4edac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hmnBCXBESFWxTGJtijlva

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 chain-native-balance-lookup-f2d4edac -d '<json body>'
```

Example prompt: What is the native token balance of wallet 0xAbC1234567890abcdef1234567890abcdef123456 on Base?

## When to prefer this

Use this endpoint when you need a quick, on-demand native token balance (ETH, native Base token) for a specific wallet address on Ethereum or Base networks, especially in autonomous agent workflows where micropayment-per-call pricing ($0.001 USDC via x402) is preferred over subscription-based blockchain data APIs. Ideal when you don't need ERC-20 token balances — only the chain's native asset balance.

## Known failure modes

- Invalid address format (not matching 0x followed by 40 hex characters) returns validation error
- Unsupported network value outside of 'base' or 'ethereum' returns enum error
- Network timeout or RPC unavailability may return a non-ready status
- Payment not included or insufficient USDC micropayment causes x402 payment-required rejection

## How this service works

Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.

## Output

Returns a JSON object with the native token balance for the given address on the specified network (Base or Ethereum), along with a status field indicating readiness of the response.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "network": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "default": "base"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chain-native-balance-lookup-f2d4edac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
