{"uid":"cap_6yM5tSih_M7zi4bjRxyY7","slug":"delx-commerce-evm-hex-quantity-normalize-a1ba40a0","name":"Delx Commerce — EVM Hex Quantity Normalize","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-hex-quantity-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"quantity":{"type":"string","maxLength":8192,"description":"Quantity supplied to EVM Hex Quantity Normalize; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"decimal":"10","hex_quantity":"0xa"},"schema":"delx/util-evm-hex-quantity-normalize/v1","status":"pass","evidence":{"retained":false,"input_sha256":"e715e2d41dde2bc72a6903549169204d8a7eafa7a87caa81118d29f63959a203","external_calls":0},"operation":"evm_preflight:evm_hex_quantity_normalize"}},"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_K3UFLV-Vwzk-kewgahVIZ","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":"Normalizes a numeric quantity to both decimal and EVM-compatible hex (0x-prefixed) format for use in Ethereum transaction preflighting","exampleAgentPrompt":"Normalize the quantity '10' to EVM hex format so I can use it in an Ethereum transaction preflight — I need both the decimal and the 0x-prefixed hex value back.","exampleUseCases":[{"title":"Smart contract call data prep","prompt":"I'm building a transaction to transfer 255 tokens on Ethereum — can you convert that quantity to the correct 0x-prefixed hex format I need for the call data?"},{"title":"DeFi transaction preflight check","prompt":"Before I send this EVM transaction, normalize the quantity '1000000' to hex for me so I can confirm the encoded value matches what my smart contract expects."},{"title":"Debugging hex encoding mismatch","prompt":"I'm getting a mismatch between my decimal amount and what's showing up in the EVM call — can you normalize the quantity '42' to hex so I can verify the correct 0x encoding?"}],"resultDescription":"Returns a JSON object containing the normalized decimal string, the 0x-prefixed hex quantity, operation status ('pass'), the operation name, and a verifiable evidence block including whether input was retained (always false), the SHA256 hash of the input, and the number of external calls made (always 0).","failureModes":["Invalid or non-numeric quantity string returns an error","Quantity exceeding maxLength of 8192 characters rejected","Malformed request body returns 400-level error","Payment not received or invalid USDC payment results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, pay-per-result hex normalization with cryptographic evidence of processing (input SHA256, no retention guarantee) — ideal for agents that need auditability in EVM transaction preflighting without setting up infrastructure or managing keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:00.404Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-hex-quantity-normalize-a1ba40a0"}