# Delx EVM Chain ID Hex Normalize

> Delx EVM Chain ID Hex 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).

Converts an EVM chain ID (in any numeric or hex form) to its canonical hex and decimal representations, verifying correctness in memory without data retention.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-chain-id-hex-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-chain-id-hex-normalize-b3f22788
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__AmLELt4IVVNKpmcvymdH

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-chain-id-hex-normalize-b3f22788 -d '<json body>'
```

Example prompt: Can you normalize the EVM chain ID '8453' into its canonical hex and decimal forms for me? I need it formatted properly before I send a transaction on Base.

## When to prefer this

Use this endpoint when an AI agent needs to deterministically normalize or validate an EVM chain ID into its canonical hex and decimal forms — especially during EVM preflight checks before sending transactions or constructing payloads. Prefer it over ad-hoc string formatting when auditability matters, since the response includes an evidence block with input hash and zero-retention confirmation.

## Known failure modes

- Invalid or unparseable chain_id value returns an error status
- chain_id exceeding 8192 characters is rejected
- Malformed hex strings that cannot be parsed to an integer fail validation
- Missing chain_id field in request body causes a bad request response

## How this service works

EVM Chain Id Hex Normalize: EVM Chain Id Hex Normalize converts decimal or hexadecimal chain identifiers into both forms from bounded caller-supplied values without an external provider. Call EVM Chain Id Hex 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 Chain Id Hex Normalize as versioned deterministic…

## Output

Returns a JSON object containing the normalized hex string (0x-prefixed) and decimal integer for the supplied chain ID, along with operation name, pass/fail status, and an evidence block confirming no data was retained and no external calls were made (includes SHA256 of the input).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "hex": "0x2105",
   "decimal": 8453
  },
  "schema": "delx/util-evm-chain-id-hex-normalize/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "be323df1e1cdb84b28aeaec9e86e6786c27277b63126d7361e444f5d6fce0979",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_chain_id_hex_normalize"
 }
}
```

## More

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