# Delx EVM Hex Quantity Normalize

> Delx EVM Hex Quantity Normalize is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Normalizes an EVM hex quantity string (e.g. '0xa') to both its decimal and canonical hex-quantity representations.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-hex-quantity-normalize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-evm-hex-quantity-normalize-f0caa508
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jrXqjBYbr0mtvy_iAwTJb

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

Example prompt: Normalize the EVM hex quantity '0xa' for me — give me both the decimal value and the canonical hex-quantity form before I send it in a transaction.

## When to prefer this

Use this endpoint when your EVM/Ethereum agent workflow needs to normalize hex quantity strings to decimal or canonical hex form before constructing or validating transactions. Prefer it over manual parsing when you need auditable, stateless conversion with an SHA-256 input hash for traceability and zero data retention guarantees.

## Known failure modes

- Invalid or non-numeric quantity string returns an error status
- Quantity string exceeding 8192 characters is rejected
- Malformed hex string (missing '0x' prefix or invalid characters) may return an error
- Empty input string returns a validation error

## How this service works

EVM Hex Quantity Normalize: EVM Hex Quantity Normalize normalizes an EVM hex quantity without redundant leading zeroes from bounded caller-supplied values without an external provider. Call EVM Hex Quantity Normalize before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Hex Quantity Normalize as versioned deterministic J…

## Output

Returns a JSON object with the decimal representation and canonical hex-quantity string (e.g. '0xa'), an operation status of 'pass', and evidence metadata including whether input was retained (always false), the SHA-256 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-evm-hex-quantity-normalize-f0caa508/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
