{"uid":"cap_lHyAklMRN91GSOVSKxaFY","slug":"delx-commerce-sha-256-hash-of-base64-encoded-bytes-482408d3","name":"Delx Commerce — SHA-256 Hash of Base64-Encoded Bytes","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/bytes-sha256-b64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base64":{"type":"string","description":"Base64-encoded bytes"}}},"responseSchema":{"type":"json","example":{"nbytes":5,"schema":"delx/util-bytes-sha256-b64/v1","sha256":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"}},"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_9JF-ukOKQPOGwvz_0iwMH","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":"Computes the SHA-256 hash of base64-encoded bytes and returns the hex digest along with the byte count.","exampleAgentPrompt":"Can you compute the SHA-256 hash of these base64-encoded bytes: 'aGVsbG8='?","exampleUseCases":[{"title":"Integrity check before storing file","prompt":"I just encoded a binary file as base64 — can you get the SHA-256 hash of 'dGVzdCBmaWxlIGNvbnRlbnQ=' so I can store a checksum alongside it?"},{"title":"Verify downloaded binary matches expected hash","prompt":"I downloaded a file and base64-encoded it to get 'SGVsbG8gV29ybGQ='. Can you compute its SHA-256 so I can check it matches the expected digest?"},{"title":"Fingerprint binary payload for deduplication","prompt":"I have a base64-encoded binary payload 'YWJjZGVmZ2g=' and I need its SHA-256 fingerprint to detect duplicate uploads in my pipeline."}],"resultDescription":"Returns a JSON object containing the SHA-256 hex digest of the decoded bytes, the number of bytes, and a schema version string (e.g. {\"sha256\": \"2cf24dba...\", \"nbytes\": 5, \"schema\": \"delx/util-bytes-sha256-b64/v1\"}).","failureModes":["Invalid base64 string returns an error response","Missing 'base64' field in request body causes a validation error","Empty base64 string may return a zero-byte result or error","Payment not provided or insufficient USDC results in HTTP 402 response"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, no-signup SHA-256 hash of binary data that is already base64-encoded, especially in agent pipelines where USDC micropayments via x402 are acceptable and verifiable delivery is required. Prefer over self-hosted hashing when you want a trustless, on-chain-payment-verified cryptographic primitive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:24:48.933Z","isFirstParty":false,"canonicalSlug":"delx-commerce-sha-256-hash-of-base64-encoded-bytes-482408d3"}