{"uid":"cap_N_tKLq1d32tyHIDQAg3LP","slug":"delx-commerce-evm-calldata-shape-check-6f190bcb","name":"Delx Commerce — EVM Calldata Shape Check","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/evm-calldata-shape-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calldata":{"type":"string","maxLength":8192,"description":"Calldata supplied to EVM Calldata Shape Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"calldata":"0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111","byte_count":36,"shape_valid":true},"schema":"delx/util-evm-calldata-shape-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"1048e8d74a53c6ea3249086735deac2cb24ee3dd131a3852df0439253301d8de","external_calls":0},"operation":"evm_preflight:evm_calldata_shape_check"}},"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_I7Kqr53gViRFhA1L5R2y5","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 the structural shape and byte count of EVM calldata without retaining or executing it","exampleAgentPrompt":"Can you do a shape check on this EVM calldata to make sure it's structurally valid before I submit it on-chain: 0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111","exampleUseCases":[{"title":"Pre-broadcast transaction calldata sanity check","prompt":"Before I broadcast this transaction, can you check whether this calldata is structurally valid — 0xa9059cbb00000000000000000000000012345678901234567890123456789012345678901234 — and tell me the byte count?"},{"title":"Agent pipeline preflight for EVM transactions","prompt":"My agent is about to submit a batch of EVM transactions — can you run a shape check on this calldata first to catch any malformed encoding before it hits the network: 0x23b872dd000000000000000000000000abcdefabcdefabcdefabcdefabcdefabcdefabcd?"},{"title":"Debugging malformed smart contract calldata","prompt":"I think something is wrong with the calldata my app generated — can you inspect this hex string and tell me if it passes the EVM shape check and what the byte count is: 0x70a08231000000000000000000000000deadbeef?"}],"resultDescription":"Returns a JSON object with the original calldata, byte count, a boolean shape_valid flag, the operation name, a status field ('pass' or 'fail'), and an evidence block confirming no data was retained, no external calls were made, and providing the SHA-256 hash of the input for auditability.","failureModes":["Calldata exceeds 8192 character limit — request rejected","Non-hex or malformed string input — shape_valid returns false","Payment failure via x402 — 402 response returned before processing","Empty calldata field — may return validation error or shape_valid false"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless, pay-per-call structural validation of EVM calldata before submitting a transaction on-chain. It is ideal for agent pipelines performing preflight checks, since it guarantees no data retention, no external calls, and provides a verifiable SHA-256 evidence trail. Prefer it over general-purpose code execution or on-chain simulation tools when you only need to confirm calldata encoding shape and byte count.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.769Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-calldata-shape-check-6f190bcb"}