# Immuta — On-Chain Document Notarization for AI Agents Immuta lets an AI agent notarize a document on a public blockchain: send a SHA-256 hash, receive a permanent, independently verifiable record proving the content existed at that moment, plus a downloadable PDF Certificate of Existence. The document itself never leaves your system — only the hash is transmitted. Anyone can verify a seal without trusting Immuta. Payment uses the x402 protocol: one unauthenticated request returns the price; pay in USDC on Base and the same request returns the result. No account, no API key. The buyer needs USDC on Base — no ETH, the facilitator covers gas. Base URL: https://api.immuta.app Machine-readable manifest: https://api.immuta.app/.well-known/x402.json OpenAPI spec: https://api.immuta.app/openapi.json MCP server: https://api.immuta.app/mcp (streamable HTTP, x402 payments in _meta) Agent card: https://api.immuta.app/.well-known/agent-card.json Payment: x402 (exact scheme) · USDC on Base (eip155:8453) ## Endpoints ### POST /seal — $1.00 USDC Notarize a document on-chain. Send a SHA-256 hash of the document (compute it locally; do not send the document). Returns the transaction, a text receipt, and a link to a PDF Certificate of Existence. Request body (application/json): - sha256 (required): 64-hex-char SHA-256 hash of the document - label (optional): short label stored on-chain, up to 100 bytes - note (optional): note stored on-chain, up to 500 bytes Response includes: tx_hash, submitter, verify_url, receipt_pdf_url. The seal confirms on-chain within seconds; the response returns immediately with status "pending". Use for: contracts, agreements, audit trails, IP protection, compliance records, AI-output provenance — anything needing provable proof of existence at a point in time. ### GET /pulsechain/head — $0.001 USDC Latest PulseChain block number and Unix timestamp, from live chain state. ### GET /pulsechain/block-by-timestamp — $0.002 USDC Resolve any Unix timestamp to the exact PulseChain block at or nearest that moment (binary search, precise to one block). Query params: ts (Unix seconds, required), mode ("before" or "after", optional). Useful for tax lots, historical price lookups, and event correlation. ### GET /verify/{sha256} — free Check whether a SHA-256 was ever sealed on Immuta, by anyone (website users or the API). Returns every seal of that hash, oldest first: timestamp, label, note, submitter wallet, fee token, transaction hash, block, explorer link and PDF certificate link. No payment, no key. Limited to 60 requests/min per IP. Example: https://api.immuta.app/verify/592377391903857cdb47f5041c1992aba7d62c8f9100dfc715bb83aac16a450d ### GET /receipt/{sha256}.pdf — free Regenerate the PDF Certificate of Existence for any sealed hash, rendered live from chain state. Pass ?tx={tx_hash} to include the transaction on the certificate. Works forever; no login. ## MCP (Model Context Protocol) Endpoint: https://api.immuta.app/mcp (streamable HTTP). Tools: - seal_document(sha256, label?, note?): $1.00, same as POST /seal - verify_seal(sha256): free, returns the on-chain record if sealed - pulsechain_head(): $0.001 - pulsechain_block_by_timestamp(ts, mode?): $0.002 Paid tools follow the x402 MCP transport: a call without payment returns an error result whose structuredContent is the x402 PaymentRequired object. Retry the call with the signed payment in params._meta["x402/payment"]; the settlement receipt comes back in result._meta["x402/payment-response"]. The x402 SDKs handle this automatically (Python: x402.mcp; TypeScript: @x402/mcp). ## How payment works (x402, three steps) 1. Make the request. If payment is required, the server returns HTTP 402 with a PAYMENT-REQUIRED header (base64-encoded JSON: price, network, asset, pay-to). 2. Sign a payment authorization (EIP-3009 transferWithAuthorization for USDC — gasless for you) and retry the request with the PAYMENT-SIGNATURE header. 3. The server settles the payment and returns the result. Any x402 client library handles this automatically. In Python: `x402_requests` (from the x402 package) wraps requests and auto-pays any 402. In TypeScript: `@x402/fetch` wraps fetch(). ## Verifying a seal (no trust in Immuta required) 1. Re-hash the original document → SHA-256. If one byte changed, it won't match. 2. Call GET /verify/{sha256} (free), view the transaction on any PulseChain explorer (verify_url), or call getRecord(sha256, submitter) on the Immuta contract: 0x0C2a0F6289D1Af62fc2C90301f8a0CadcD017e5c 3. The on-chain timestamp is the proof. ## Payment details - Network: Base (eip155:8453) - Asset: USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) - Scheme: exact - Pay to: 0xB60a3181303953E6F909ba4d3b09282BEefCDD6B - Records are written to the Immuta contract on PulseChain (chain 369)