# EVM Transaction Count (Nonce) Lookup

> EVM Transaction Count (Nonce) Lookup is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Returns the transaction count (nonce) for a given Ethereum-compatible address on a specified EVM chain, optionally at a specific block.

## Facts

- Endpoint: POST https://twin.unykorn.org/evm-nonce?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-transaction-count-nonce-lookup-3ecb3d24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_At8xsMUKdb7lgMLGiM2Vs

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-transaction-count-nonce-lookup-3ecb3d24 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need the transaction count or nonce for a specific EVM address on one of ten supported chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll), especially when you need optional historical block-level precision. It is a pay-per-call API suitable for agents that need sporadic on-demand nonce lookups without maintaining a full node or RPC subscription.

## Known failure modes

- Invalid address format (not a valid 0x + 40 hex chars) returns an error
- Unsupported chain value returns a validation error
- Invalid or future block identifier returns an error
- Network timeout or RPC node unavailability may cause failure
- Insufficient payment (x402) causes request rejection

## How this service works

Transaction count (nonce) for one address — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok status, the nonce/transaction count value, a payment receipt including tx_hash, amount_usd, and receipt_id, and a generated_at ISO8601 timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "block": {
     "type": "string"
    },
    "chain": {
     "enum": [
      "ethereum",
      "base",
      "polygon",
      "arbitrum",
      "optimism",
      "bsc",
      "avalanche",
      "gnosis",
      "linea",
      "scroll"
     ],
     "type": "string"
    },
    "address": {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]{40}$"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "evm-nonce",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.002,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-transaction-count-nonce-lookup-3ecb3d24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
