{"uid":"cap_jNqFtTarsSuW_ReBuT8pD","slug":"delx-tx-hash-validate-75e0f908","name":"Delx Tx Hash Validate","description":"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,…","url":"https://api.delx.ai/api/v1/x402/tx-hash-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tx_hash":{"type":"string","description":"32-byte transaction hash hex (64 hex chars, optional 0x)."}}},"responseSchema":{"type":"json","example":{"valid":true,"schema":"delx/util-tx-hash-validate/v1","normalized":"0xabababababababababababababababababababababababababababababababab","byte_length":32}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IHJcGdYqNjhZXhrbXpQ2Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and normalizes the format of a 32-byte (64 hex character) transaction hash string, returning a deterministic machine-readable result","exampleAgentPrompt":"Can you check whether this transaction hash is correctly formatted: 0x4e3a12f8b9c2d1a7e5f6b3c8d2a9e1f4b7c3d8a2e5f9b1c4d7a3e6f2b8c1d4a7?","exampleUseCases":[{"title":"Pre-submission tx hash hygiene","prompt":"Before I submit this transaction hash to the blockchain explorer, can you validate that it's properly formatted — the hash is 4e3a12f8b9c2d1a7e5f6b3c8d2a9e1f4b7c3d8a2e5f9b1c4d7a3e6f2b8c1d4a7?"},{"title":"Normalizing user-provided hash input","prompt":"A user pasted this transaction hash into my app and I want to make sure it's valid and normalized before processing: 0X4E3A12F8B9C2D1A7E5F6B3C8D2A9E1F4B7C3D8A2E5F9B1C4D7A3E6F2B8C1D4A7"},{"title":"Agent pipeline input validation","prompt":"In my automated workflow, I need to validate this tx hash before passing it to a chain read — can you check if 0x4e3a12f8b9c2d1a7e5f6b3c8d2a9e1f4b7c3d8a2e5f9b1c4d7a3e6f2b8c1d4a7 is a properly formatted 32-byte transaction hash?"}],"resultDescription":"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","failureModes":["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"],"whenToPreferThis":"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","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:03:33.833Z","isFirstParty":false}