{"uid":"cap_P-cOkeLxrXV2k4bCXZJcL","slug":"delx-evm-calldata-word-count-fc34fe67","name":"Delx EVM Calldata Word Count","description":"EVM Calldata Word Count: EVM Calldata Word Count counts complete and partial 32-byte calldata words after the selector from bounded caller-supplied values without an external provider. Call EVM Calldata Word Count 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 Calldata Word Count as versioned deterministic JSON. P…","url":"https://api.delx.ai/api/v1/x402/evm-calldata-word-count","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calldata":{"type":"string","maxLength":8192,"description":"Calldata supplied to EVM Calldata Word Count; 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,"complete_words":1,"partial_word_bytes":0},"schema":"delx/util-evm-calldata-word-count/v1","status":"pass","evidence":{"retained":false,"input_sha256":"1048e8d74a53c6ea3249086735deac2cb24ee3dd131a3852df0439253301d8de","external_calls":0},"operation":"evm_preflight:evm_calldata_word_count"}},"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_UQylqiAiTZ2HroV1YL7lt","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":"Counts the 32-byte words in EVM calldata and validates its structure, returning byte count, complete word count, and partial-word bytes.","exampleAgentPrompt":"Can you count the 32-byte words in this EVM calldata and tell me if it's properly shaped: 0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111?","exampleUseCases":[{"title":"Pre-flight calldata word check","prompt":"Before I submit this transaction, count the 32-byte words in my calldata — here it is: 0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111 — and tell me if it's valid."},{"title":"Gas estimation calldata inspection","prompt":"I'm trying to estimate gas for a contract call. Can you analyze this calldata hex and tell me the byte count, word count, and whether it's properly aligned: 0x23b872dd000000000000000000000000abc123?"},{"title":"Calldata alignment validation in agent pipeline","prompt":"My agent is building EVM transactions dynamically. Check whether this calldata is word-aligned and give me the complete word count and any partial byte remainder: 0x70a08231000000000000000000000000user_address_here."}],"resultDescription":"A JSON object containing the input calldata, its total byte count, whether the shape is valid (true if byte count is a multiple of 32 plus a 4-byte selector), the number of complete 32-byte words, the number of partial word bytes remaining, plus an evidence block with a SHA-256 hash of the input, a flag confirming no data was retained, and the count of external calls made (always 0).","failureModes":["Calldata string exceeds 8192 character maximum — request rejected","Malformed or non-hex calldata string — validation error returned","Empty calldata — may return zero counts with shape_valid false","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need a fast, privacy-preserving (no retention, no external calls) preflight check on EVM calldata before submitting a transaction — particularly to confirm word alignment, byte count, and structural validity. Prefer this over manual calculation when building agent-driven EVM transaction pipelines that need auditable evidence (SHA-256 of input) of the computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:12.737Z","isFirstParty":false}