{"uid":"cap_EWd_7HqmXujX63AnTU6ni","slug":"delx-commerce-transaction-hash-format-validator-0d041d46","name":"Delx Commerce — Transaction Hash Format Validator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/tx-hash-format-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tx_hash":{"type":"string","description":"0x-prefixed 32-byte tx hash"}}},"responseSchema":{"type":"json","example":{"valid":true,"schema":"delx/util-tx-hash-format-check/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9TeYbE4IuJm6K49nU7E_9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given string is a correctly formatted 0x-prefixed 32-byte Ethereum/EVM transaction hash","exampleAgentPrompt":"Can you check if this transaction hash is correctly formatted before I use it to look up the transaction: 0x4e3a2b1c8f6d0e9a7c5b3d2f1e4a8c0b6d9f2e3a1c5b7d4f8e2a0c6b9d3f1e5?","exampleUseCases":[{"title":"Pre-flight validation in blockchain workflow","prompt":"Before I go ahead and query the blockchain explorer, can you verify that this hash is properly formatted as a 32-byte 0x-prefixed tx hash: 0xabc123def456...?"},{"title":"Catching bad input from user submission","prompt":"A user just submitted this transaction hash in my app — can you check if it's actually valid format before I try to look it up on-chain: 0x000000000000000000000000000000000000000000000000000000000000dead?"},{"title":"Debugging a failed transaction lookup","prompt":"I'm getting errors when I try to fetch this transaction and I think the hash might be malformed — can you tell me if 0xdeadbeef is a valid tx hash format?"}],"resultDescription":"Returns a JSON object with a 'valid' boolean indicating whether the input string conforms to the 0x-prefixed 32-byte transaction hash format, and a 'schema' field identifying the validator version (e.g. 'delx/util-tx-hash-format-check/v1').","failureModes":["Missing or empty tx_hash field returns a validation failure or error response","Non-string input may cause a 400 error","Hash without 0x prefix will return valid: false","Hash of wrong byte length (not 32 bytes / 64 hex chars) will return valid: false","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.001 USDC), no-signup check to confirm a transaction hash string is correctly formatted before passing it downstream to more expensive blockchain queries, explorers, or smart contract calls. It is ideal for input sanitization in automated agent workflows handling user-submitted or externally sourced transaction identifiers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:00.403Z","isFirstParty":false,"canonicalSlug":"delx-commerce-transaction-hash-format-validator-0d041d46"}