# chain-address-nonce

> chain-address-nonce is a paid API for AI agents from chain.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns the transaction count (nonce) of a blockchain address across multiple EVM-compatible chains including Base, Ethereum, Arbitrum, Optimism, Polygon, and BSC.

## Facts

- Endpoint: GET https://chain.intel.rallylive.ca/chain/nonce?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-address-nonce-a1cb42e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u5kRZ2_ZvNcTRug-od0Pq

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 chain-address-nonce-a1cb42e1
```

Example prompt: What's the current transaction count (nonce) for wallet address 0xAbC123... on Ethereum so I know what nonce to use for my next transaction?

## When to prefer this

Choose this endpoint when you need a fast, low-cost nonce lookup across multiple EVM-compatible chains from a single API. Especially useful when building transaction construction pipelines, auditing wallet activity levels, or detecting replay vulnerabilities. The multi-chain prefix support (ethereum:, arbitrum:, optimism:, polygon:, bsc:) makes it convenient compared to managing separate RPC connections per chain. Default chain is Base.

## Known failure modes

- Invalid or malformed address returns an error
- Unsupported chain prefix returns an error
- Network connectivity issues to the target chain RPC may cause timeouts
- Payment failure ($0.01 USDC) results in HTTP 402 and no data returned
- Address with zero transactions returns nonce of 0, which may be misinterpreted as an error

## How this service works

Transaction count (nonce) of an address. Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:, bsc:. $0.01 per call.

## Output

Returns the current transaction count (nonce) integer for the queried address on the specified EVM chain. The nonce represents the total number of transactions sent from the address, useful for constructing new transactions or auditing activity.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chain-address-nonce-a1cb42e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.intel.rallylive.ca](https://www.zero.xyz/host/chain.intel.rallylive.ca/llms.txt)
