# EVM Account Nonce Lookup

> EVM Account Nonce Lookup is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.0015/call, status unknown (last checked 2026-09-13).

Returns the current transaction nonce for an EVM account address on Base, Ethereum, or Arbitrum at a specified block height.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_nonce
- Price: $0.0015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-account-nonce-lookup-7cbaf906
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SWmUpkYAn0CDt0qcKTaVy

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-account-nonce-lookup-7cbaf906
```

Example prompt: What's the current pending nonce for the address 0xAbCd1234...5678 on Base? I need it before I submit my next transaction.

## When to prefer this

Use this endpoint when an agent needs the current or pending transaction nonce for an EVM wallet on Base, Ethereum, or Arbitrum and you want a pay-per-use, no-subscription approach via USDC micropayment. Prefer this over running your own RPC node when you need on-demand nonce lookups across multiple chains without managing infrastructure.

## Known failure modes

- Invalid or malformed EVM address returns an error response
- Unsupported chain value (not base, ethereum, or arbitrum) returns an error
- Invalid block tag or out-of-range block height returns an error
- Network connectivity issues to the underlying RPC node may cause timeouts
- Payment failure (insufficient USDC balance) blocks the request with HTTP 402

## How this service works

Read the confirmed or pending transaction count for an EVM address at a selected block tag or height.

## Output

Returns a JSON object containing the account address, the resolved block tag (e.g. 'pending' or a block number), the network name, the nonce as a decimal string, and the nonce as a hex string, plus a success boolean.

## 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": [
      "address"
     ],
     "properties": {
      "block": {
       "type": "string",
       "description": "Block tag or height; defaults to latest. Use pending for the next local transaction nonce."
      },
      "chain": {
       "type": "string",
       "description": "base, ethereum, or arbitrum; defaults to base."
      },
      "address": {
       "type": "string",
       "description": "EVM account address."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "network",
      "address",
      "block",
      "nonce",
      "nonce_hex"
     ],
     "properties": {
      "block": {
       "type": "string"
      },
      "nonce": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "network": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "nonce_hex": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": "pending",
  "nonce": "0",
  "address": "0x0000000000000000000000000000000000000000",
  "network": "base",
  "success": true,
  "nonce_hex": "0x0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-account-nonce-lookup-7cbaf906/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
