{"uid":"cap_6rvLCFgV2ufzg91CZF7--","slug":"mahastrategies-transparency-hash-chain-verification-67d47acc","name":"Mahastrategies Transparency Hash Chain Verification","description":"Verify a bounded civic-ledger-1 public organizational decision suffix against declared checkpoints, including expected-head truncation detection. No Merkle proof or anchor.","url":"https://www.mahastrategies.com/api/v1/micro/transparency-hash-chain-verification?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","publicNonpersonalRecords","preceding","expectedHead","receipts"],"properties":{"receipts":{"type":"array","maxItems":32,"minItems":0},"dataClass":{"enum":["public","synthetic"],"type":"string"},"preceding":{"type":"object"},"expectedHead":{"type":"object"},"publicNonpersonalRecords":{"enum":[true],"type":"boolean"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["transparency-hash-chain-verification"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["38500"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0385","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.0385/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0385","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0385","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B3xUiAGCtXtAc_pIRP_1F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0385","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a bounded civic-ledger public organizational decision hash chain against declared checkpoints, detecting expected-head truncation without Merkle proof or anchor.","exampleAgentPrompt":"Can you verify this public civic-ledger hash chain — the data class is 'public', public non-personal records is true, and I have the preceding chain object, the expectedHead object, and up to 12 receipts — and tell me if the chain is intact or if there's a truncation at the expected head?","exampleUseCases":[{"title":"Audit municipal decision log integrity","prompt":"I need to verify the integrity of our city council's decision hash chain — the dataClass is 'public', publicNonpersonalRecords is true, I have the preceding chain state and the expectedHead, and there are 8 receipts to check. Can you tell me if the chain is valid or if any truncation is detected?"},{"title":"Detect truncation in organizational records","prompt":"We suspect our organization's public decision ledger may have been truncated. Can you check the hash chain against our expectedHead checkpoint using these 15 receipts and the preceding chain data — dataClass is 'public' and publicNonpersonalRecords is true — and confirm whether truncation occurred?"},{"title":"Validate synthetic civic ledger for testing","prompt":"I'm testing a synthetic civic-ledger pipeline. Can you run hash chain verification on this synthetic decision suffix — dataClass is 'synthetic', publicNonpersonalRecords true, with the preceding and expectedHead objects I have — and return the boundary and result details?"}],"resultDescription":"Returns a structured result object with verification outcome, a boundaries array (up to 128 entries) indicating checkpoint states, an inputDigest and receiptDigest (hash strings up to 71 chars), the offerId 'transparency-hash-chain-verification', version string, and the charge amount in base units (38500).","failureModes":["Invalid or malformed preceding chain object causes verification failure","expectedHead object mismatch triggers truncation detection flag","receipts array exceeds 32 items returns schema validation error","dataClass not set to 'public' or 'synthetic' returns enum validation error","publicNonpersonalRecords not set to true returns rejection","Missing required body fields returns 400-level error"],"whenToPreferThis":"Use this endpoint when you need lightweight, no-Merkle-proof hash chain verification for bounded civic or public organizational decision ledgers, specifically when you want to detect expected-head truncation against declared checkpoints. Prefer it over full Merkle-proof systems when simplicity and cost efficiency matter and the data is confirmed public/non-personal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T07:00:49.722Z","isFirstParty":false,"canonicalSlug":"mahastrategies-transparency-hash-chain-verification-67d47acc"}