{"uid":"cap_c0yBgU9SDphOri4yFjBOn","slug":"delx-bytes-sha-256-base64-4ad6dce6","name":"Delx Bytes SHA-256 Base64","description":"SHA-256 of base64-decoded bytes. Call when hashing binary payloads agents already hold as base64. Returns sha256 and nbytes as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/bytes-sha256-b64","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_Ck2Ox-QF89gsDBplug42F","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 a 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 this base64-encoded data: 'aGVsbG8='? I need the hex digest to verify integrity before storing it.","exampleUseCases":[{"title":"File integrity check before upload","prompt":"I'm about to store this base64-encoded file blob — can you compute its SHA-256 hash first so I can compare it after retrieval and confirm nothing got corrupted? The base64 is 'SGVsbG8gV29ybGQ='."},{"title":"Content deduplication fingerprinting","prompt":"I have a base64-encoded image payload and I need a SHA-256 fingerprint so I can check if this exact content already exists in my database before saving it again. Base64 data is 'iVBORw0KGgo='."},{"title":"Audit trail hash generation","prompt":"For my audit log, I need the SHA-256 digest of this base64-encoded binary record so I can store a tamper-evident hash alongside the entry. Here's the base64: 'dGVzdCBkYXRh'."}],"resultDescription":"Returns a JSON object containing the SHA-256 hex digest of the decoded bytes ('sha256'), the number of bytes in the decoded payload ('nbytes'), and a schema version identifier ('schema'). Example: {nbytes: 5, schema: 'delx/util-bytes-sha256-b64/v1', sha256: '2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824'}.","failureModes":["Invalid base64 string causes decoding error","Empty or missing 'base64' field returns validation error","Malformed JSON request body returns 400","Very large payloads may exceed size limits","Non-string values for 'base64' field rejected"],"whenToPreferThis":"Choose this endpoint when you need to compute a SHA-256 hash of binary data that is already in base64-encoded form — common after reading files, images, or binary payloads from APIs that return base64. It combines base64 decoding and SHA-256 hashing in a single call, saving a step compared to decoding locally first. Prefer over generic hashing services when working within the Delx agent infrastructure ecosystem where x402 micropayment billing is already in place.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:16:30.380Z","isFirstParty":false}