# EVM Address Nonce

> EVM Address Nonce is a paid API for AI agents from flat-rate-llm.kikoribera03.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the next transaction nonce and pending nonce for any EVM address, and whether the address is a contract, via eth_getTransactionCount.

## Facts

- Endpoint: POST https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/nonce
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-address-nonce-1d6a3486
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uvv1qOf7lOm3HYA2c9yZd

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-address-nonce-1d6a3486 -d '<json body>'
```

Example prompt: What's the next transaction nonce for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet? Also tell me if it's a contract address.

## When to prefer this

Use this endpoint when you need the correct nonce before constructing or signing an EVM transaction, or when you need to quickly determine whether an address is a smart contract vs an EOA. It is purpose-built for pre-transaction preparation and wraps eth_getTransactionCount with the added isContract signal in one call, saving a separate eth_getCode round-trip.

## Known failure modes

- Invalid or malformed EVM address returns an error response
- Unsupported chain ID results in an error or empty response
- Network connectivity issues to the underlying RPC node may cause timeouts
- Address with no transactions returns nonce of 0, which is valid but may be misread as an error
- Missing required address parameter returns a 400-level error

## How this service works

60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.

## Output

Returns a JSON object with three fields: 'nonce' (the confirmed transaction count / next nonce to use for a new transaction), 'pendingNonce' (the nonce including pending mempool transactions), and 'isContract' (boolean indicating whether the address is a smart contract rather than an externally owned account).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "base | ethereum | polygon | arbitrum | optimism."
  },
  "address": {
   "type": "string",
   "description": "Address to look up."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nonce": {
   "type": "number"
  },
  "isContract": {
   "type": "boolean"
  },
  "pendingNonce": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-address-nonce-1d6a3486/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flat-rate-llm.kikoribera03.workers.dev](https://www.zero.xyz/host/flat-rate-llm.kikoribera03.workers.dev/llms.txt)
