# Delx Tx Hash Validate

> Delx Tx Hash Validate is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Validates and normalizes the format of a 32-byte (64 hex character) transaction hash string, returning a deterministic machine-readable result

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/tx-hash-validate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-tx-hash-validate-75e0f908
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jNqFtTarsSuW_ReBuT8pD

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-tx-hash-validate-75e0f908 -d '<json body>'
```

Example prompt: Can you check whether this transaction hash is correctly formatted: 0x4e3a12f8b9c2d1a7e5f6b3c8d2a9e1f4b7c3d8a2e5f9b1c4d7a3e6f2b8c1d4a7?

## When to prefer this

Use this endpoint when you need fast, local, stateless validation of a transaction hash format without making any live RPC or chain calls — ideal for input hygiene in pipelines before expensive on-chain lookups, or when you want to normalize 0x-prefix casing cheaply and deterministically at $0.003 per call with no external data dependencies

## Known failure modes

- Input hash is too short or too long (not 64 hex characters after stripping 0x)
- Input contains non-hex characters
- Empty or missing tx_hash field
- Malformed JSON request body
- Payment authorization failure via x402 protocol

## How this service works

Validate a 32-byte transaction hash format and normalize casing — call when validating a 32-byte transaction hash format. Use for chain input hygiene without live RPC—adjacent to OneSource-class small chain reads, but static/local only so rights and margin stay clear. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search,…

## Output

A deterministic JSON object indicating whether the supplied transaction hash is valid (correct 64-hex-char length, valid hex encoding), the normalized lowercase version of the hash, and any format error details if invalid

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tx_hash": {
   "type": "string",
   "description": "32-byte transaction hash hex (64 hex chars, optional 0x)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "schema": "delx/util-tx-hash-validate/v1",
  "normalized": "0xabababababababababababababababababababababababababababababababab",
  "byte_length": 32
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-tx-hash-validate-75e0f908/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)
