# Delx Commerce — EVM Hex Quantity Normalize

> Delx Commerce — EVM Hex Quantity Normalize 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).

Normalizes a numeric quantity to both decimal and EVM-compatible hex (0x-prefixed) format for use in Ethereum transaction preflighting

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-hex-quantity-normalize?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-evm-hex-quantity-normalize-a1ba40a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6yM5tSih_M7zi4bjRxyY7

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-evm-hex-quantity-normalize-a1ba40a0 -d '<json body>'
```

Example prompt: Normalize the quantity '10' to EVM hex format so I can use it in an Ethereum transaction preflight — I need both the decimal and the 0x-prefixed hex value back.

## When to prefer this

Choose this endpoint when you need a verifiable, pay-per-result hex normalization with cryptographic evidence of processing (input SHA256, no retention guarantee) — ideal for agents that need auditability in EVM transaction preflighting without setting up infrastructure or managing keys.

## Known failure modes

- Invalid or non-numeric quantity string returns an error
- Quantity exceeding maxLength of 8192 characters rejected
- Malformed request body returns 400-level error
- Payment not received or invalid USDC payment results in 402 response

## How this service works

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

## Output

Returns a JSON object containing the normalized decimal string, the 0x-prefixed hex quantity, operation status ('pass'), the operation name, and a verifiable evidence block including whether input was retained (always false), the SHA256 hash of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "quantity": {
   "type": "string",
   "maxLength": 8192,
   "description": "Quantity supplied to EVM Hex Quantity Normalize; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "decimal": "10",
   "hex_quantity": "0xa"
  },
  "schema": "delx/util-evm-hex-quantity-normalize/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "e715e2d41dde2bc72a6903549169204d8a7eafa7a87caa81118d29f63959a203",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_hex_quantity_normalize"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-evm-hex-quantity-normalize-a1ba40a0/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)
