# Xerxes Ethereum Block Number

> Xerxes Ethereum Block Number is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns the current block number of the Ethereum mainnet as a hex string via eth_blockNumber.

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/eth_blocknumber?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xerxes-ethereum-block-number-c2175170
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LWTpoYXMBEO6w640G80uk

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-block-number-c2175170
```

Example prompt: What is the current block number on Ethereum mainnet right now?

## When to prefer this

Use this endpoint when you need a quick, cheap lookup of the current Ethereum mainnet block height — for example to anchor a block-specific query, verify node liveness, or determine how far the chain has progressed. Prefer this over a full Ethereum node SDK when you just need the block number without managing your own infrastructure.

## Known failure modes

- RPC node unavailable — ok: false with an error message
- Network timeout resulting in no response
- Malformed response from upstream Ethereum node
- Unexpected non-hex value in the hex field

## How this service works

Returns the current block number of the Ethereum mainnet as a hex string.

## Output

Returns a JSON object with an 'ok' boolean, the current block number as a hex string (hex field), a 'result' integer representing the block number, the 'chain' name, and the 'method' used. On failure, an 'error' string is included and 'ok' is false.

## 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",
     "properties": {}
    }
   },
   "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-block-number-c2175170/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)
