# Xerxes Ethereum Transaction Count (eth_getTransactionCount)

> Xerxes Ethereum Transaction Count (eth_getTransactionCount) is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-23).

Returns the number of transactions sent from an Ethereum address (the account nonce), used to determine the next valid transaction sequence number.

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_rpc_api/eth_gettransactioncount?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xerxes-ethereum-transaction-count-eth-gettransactioncount-230f89de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nuIvVWVZ_xnFpvsmLWz9E

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-transaction-count-eth-gettransactioncount-230f89de
```

Example prompt: How many transactions has the Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 sent so far? I need the current nonce.

## When to prefer this

Use this endpoint when you need the Ethereum mainnet account nonce for a specific address — either to construct the next outbound transaction, audit account activity, or diagnose stuck/pending transactions. Prefer this over generic Ethereum RPC gateways when you want a simple REST GET interface with per-call x402 micropayment billing and no API key management. If you need the nonce on Base rather than Ethereum mainnet, use the sibling Base wallet snapshot endpoint instead.

## Known failure modes

- Invalid Ethereum address format (not 0x + 40 hex chars) — returns ok:false with validation error
- Address not found or never used on mainnet — returns ok:true with result:0
- Upstream RPC node unavailable — returns ok:false with connectivity error
- Malformed request missing required address query parameter — returns HTTP 400 or ok:false

## How this service works

Returns the number of transactions sent from an Ethereum address (nonce). Used by wallets, explorers, and dapps to determine the next transaction sequence. Query: address (0x + 40 hex).

## Output

Returns a JSON object with 'ok' (boolean), 'result' (integer — the transaction count/nonce), 'chain' (network identifier), 'method' (eth_getTransactionCount), and 'service' (Xerxes). On failure, 'ok' is false and 'error' contains a description. The 'hex' field may also be present with the hex-encoded count.

## 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",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "0x + 40 hex"
      }
     }
    }
   },
   "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-transaction-count-eth-gettransactioncount-230f89de/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)
