# TripGuard Fare Intelligence – Chain Nonce

> TripGuard Fare Intelligence – Chain Nonce is a paid API for AI agents from tripguard-fare-intel.onrender.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-10-11).

Returns the current blockchain nonce for a given wallet address, used to authorize pay-per-call USDC payments on Base for airfare intelligence requests.

## Facts

- Endpoint: POST https://tripguard-fare-intel.onrender.com/chain/nonce?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tripguard-fare-intelligence-chain-nonce-88ed41bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xy2Yu2ZmhyLSXzTLdBKPH

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 tripguard-fare-intelligence-chain-nonce-88ed41bd -d '<json body>'
```

Example prompt: Fetch the current nonce for wallet address 0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE on Base, including pending transactions, so I can sign my next USDC payment.

## When to prefer this

Use this endpoint when you need to obtain a wallet nonce on the Base L2 network prior to constructing a signed USDC payment transaction — specifically for authorizing pay-per-call requests to the TripGuard Fare Intelligence API. Not suitable for nonce lookups on Ethereum mainnet or other EVM chains.

## Known failure modes

- Invalid or malformed wallet address returns an error response
- Network timeout if Base RPC is unreachable
- Missing required 'address' field results in a validation error
- Nonce may be stale if fetched during high network congestion

## How this service works

Real-time airfare intelligence for AI travel-booking agents: flight price-drop prediction, fare-fraud and deal-legitimacy verification, and verified booking links for any route and date. Pay-per-call in USDC on Base. No API key.

## Output

Returns a JSON object containing the block identifier (e.g. 'latest'), the current nonce (integer transaction count), and the queried wallet address. If pending is true, the nonce includes unconfirmed transactions in the mempool.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string"
  },
  "pending": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": "latest",
  "nonce": 0,
  "address": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tripguard-fare-intelligence-chain-nonce-88ed41bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tripguard-fare-intel.onrender.com](https://www.zero.xyz/host/tripguard-fare-intel.onrender.com/llms.txt)
