# Delx Commerce Nonce Hex Generator

> Delx Commerce Nonce Hex Generator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Generates a cryptographically random nonce of a specified byte length, returned as a hexadecimal string.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/nonce-hex?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-nonce-hex-generator-4f723642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C9olDJhn3rQRBJpy-B7e3

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 delx-commerce-nonce-hex-generator-4f723642 -d '<json body>'
```

Example prompt: Generate a random 8-byte nonce as a hex string for me to use in my signing workflow.

## When to prefer this

Choose this endpoint when you need a verifiably delivered, pay-per-use random nonce in hex format with no API key or account required — especially useful in agent workflows on Base or Solana that already handle x402 micropayments and need cryptographic randomness on demand.

## Known failure modes

- Invalid or missing 'bytes' field returns an error
- Zero or negative byte count may be rejected
- Extremely large byte values may be rejected or rate-limited
- Payment failure via x402 protocol results in 402 response and no nonce returned

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the hex-encoded nonce string (e.g. 'd9903033aec23a97'), the number of bytes generated, and a schema version identifier ('delx/util-nonce-hex/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bytes": {
   "type": "integer",
   "description": "Input field: bytes."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "d9903033aec23a97",
  "bytes": 8,
  "schema": "delx/util-nonce-hex/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-nonce-hex-generator-4f723642/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
