# Ethereum Mainnet eth_getTransactionCount (Nonce Lookup)

> Ethereum Mainnet eth_getTransactionCount (Nonce Lookup) is a paid API for AI agents from api.arysphere.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-17).

Returns the number of transactions sent from an Ethereum mainnet address (its nonce / transaction count) via eth_getTransactionCount.

## Facts

- Endpoint: GET https://api.arysphere.com/v1/ventures/x402_eth_reads_v1/eth_mainnet_eth_gettransactioncount?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-mainnet-eth-gettransactioncount-nonce-lookup-71e6d46d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z2ApX_ZfQuX6WisVp8uMZ

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 ethereum-mainnet-eth-gettransactioncount-nonce-lookup-71e6d46d
```

Example prompt: What is the current transaction count (nonce) for Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on mainnet?

## When to prefer this

Choose this endpoint when you need the confirmed on-chain nonce (transaction count) of an Ethereum mainnet address — especially before constructing and signing a new transaction, auditing wallet activity, or verifying nonce consistency. Prefer this over general RPC gateways when you need a pay-per-call, x402-compatible interface with no API key setup.

## Known failure modes

- Invalid or malformed address (not matching ^0x[0-9a-fA-F]{40}$) returns ok:false with an error message
- Network or RPC node unavailability causes error response
- Missing address query parameter may return error or default behavior
- Payment failure (402) if USDC payment not included or insufficient

## How this service works

ARYSPHERE sells AI-written verdicts on Base token contracts (a grade, a one-liner, a roast and the contract's facts) and Base/Ethereum chain reads, paid per call in USDC on Base over x402 v2. No account and no API key.

## Output

Returns a JSON object containing: 'ok' (boolean success flag), 'result' (integer transaction count / nonce), 'hex' (nonce as hex string or null), 'chain' (chain identifier, e.g. 'eth_mainnet'), 'method' (echoed method name 'eth_getTransactionCount'), 'service' (service identifier), and 'error' (string, only present when 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": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "0x + 40 hex"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "hex": "0x1751",
  "chain": "ethereum",
  "method": "eth_getTransactionCount",
  "result": 5969,
  "service": "x402_eth_reads_v1.eth_mainnet_eth_gettransactioncount"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-mainnet-eth-gettransactioncount-nonce-lookup-71e6d46d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.arysphere.com](https://www.zero.xyz/host/api.arysphere.com/llms.txt)
