{"uid":"cap__hx1snyjacTLCtJTtInPz","slug":"gblin-ai-action-receipt-sealer-6a7797b7","name":"GBLIN AI Action Receipt Sealer","description":"Call after your agent completes an action it may later have to prove: seal the hashes of its input and output (only your action label and meta are published) into GBLIN's signed append-only transparency log and get a portable receipt: Ed25519 signature, RFC 6962 inclusion proof, C2SP signed checkpoint; root anchored daily on Base (EAS). Proves existence and time, not correctness. Free reads and demo: gblin-mcp.gblin-mcp-worker.workers.dev/log","url":"https://gblin.digital/api/x402/seal?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"meta":{"type":"string","maxLength":512,"description":"Extra JSON object as a string (optional). PUBLISHED."},"tool":{"type":"string","maxLength":128,"description":"Tool or model used (optional). PUBLISHED."},"action":{"type":"string","maxLength":128,"description":"Short public label for what the AI did. PUBLISHED in the log: identifiers only, never secrets."},"agent_id":{"type":"string","maxLength":128,"description":"Your agent identifier (optional). PUBLISHED."},"input_hash":{"type":"string","pattern":"^(0x)?[0-9a-fA-F]{64}$","description":"sha256 of your input, 64 hex chars (0x prefix optional)"},"output_hash":{"type":"string","pattern":"^((0x)?[0-9a-fA-F]{64})?$","description":"sha256 of your output, 64 hex chars (optional)"}}},"responseSchema":{"type":"json","example":{"leaf":"<base64 sha256(0x00 || canonical)>","root":"<base64 Merkle root>","index":42,"format":"gblin-receipt/v1","verify":"offline: see verify-receipt.mjs in github.com/gblinproject/gblin-treasury-risk-regime (zero deps)","payload":{"v":1,"ts":"2026-08-30T09:00:00.000Z","log":"gblin.digital/receipts-log","index":42,"action":"summarise-contract","input_hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","output_hash":null},"signature":"<base64 Ed25519 over the canonical record>","tree_size":43,"checkpoint":"<C2SP signed note>","verifier_key":"gblin.digital/receipts-log+00c6e18c+...","inclusion_proof":["<base64 node>","<base64 node>"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0045","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.0045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OvX8-agPEcghcEVu8AItq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Seals SHA-256 hashes of an AI action's input and output into a signed, append-only transparency log, returning a portable Ed25519 receipt with RFC 6962 inclusion proof and a blockchain-anchored checkpoint.","exampleAgentPrompt":"Seal a receipt for the summarization action I just ran — input hash is 0xa3f1e2c4d5b6789012345678abcdef0123456789abcdef0123456789abcdef01, output hash is 0xdeadbeef1234567890abcdef1234567890abcdef1234567890abcdef12345678, label it 'document-summarization', agent is 'my-research-agent', and tool is 'gpt-4o'.","exampleUseCases":[{"title":"Audit trail for autonomous research agent","prompt":"My research agent just finished summarizing a legal document — seal a transparency receipt with action label 'legal-summary', input hash 0xabc1230000000000000000000000000000000000000000000000000000000001, output hash 0xdef4560000000000000000000000000000000000000000000000000000000002, and agent_id 'legal-bot-v2'."},{"title":"Timestamping an AI content moderation decision","prompt":"I need a tamper-evident record that my content moderation model flagged a post right now — seal the action labeled 'content-moderation', with input hash 0x1111111111111111111111111111111111111111111111111111111111111111 and output hash 0x2222222222222222222222222222222222222222222222222222222222222222, tool is 'moderation-model-v3'."},{"title":"Proving AI code generation occurred pre-deployment","prompt":"Before I ship this AI-generated code, seal a signed receipt proving the code existed at this moment — action is 'code-generation', input hash 0xaaaa000000000000000000000000000000000000000000000000000000000001, output hash 0xbbbb000000000000000000000000000000000000000000000000000000000002, agent_id 'ci-agent', meta '{\"repo\":\"my-project\",\"pr\":42}'."}],"resultDescription":"A portable cryptographic receipt containing an Ed25519 signature over the sealed hashes, an RFC 6962 Merkle inclusion proof placing the entry in the append-only transparency log, a C2SP signed checkpoint, and a reference to the daily root anchor recorded on Base via EAS. The action label, agent_id, tool, and meta fields are publicly published in the log.","failureModes":["Invalid hash format (not 64 hex chars) returns validation error","input_hash missing returns 400-level error","Payment not included or insufficient USDC returns 402 Payment Required","Log service unavailable returns 503","meta field exceeds 512 chars returns rejection","action label exceeds 128 chars returns rejection"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cryptographically verifiable, tamper-evident record that a specific AI action occurred at a point in time — without needing a full compliance certificate. Ideal for agents that must prove provenance of outputs, create audit trails, or demonstrate that an input/output pair existed before a given timestamp. Prefer this over generic logging when you want a portable, offline-verifiable receipt anchored to a public blockchain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T18:56:26.648Z","isFirstParty":false,"canonicalSlug":"gblin-ai-action-receipt-sealer-6a7797b7"}