{"uid":"cap_b1s3_iomlNbqEAuD59HAX","slug":"fractalai-x402-seal-post-quantum-provenance-attestation-41ad9851","name":"FractalAI x402 Seal — Post-Quantum Provenance Attestation","description":"The first AI-native Layer 1 blockchain built from scratch in Rust. Post-quantum cryptography (CRYSTALS-Dilithium), Proof of Fractal Work consensus, WASM smart contracts, and 460+ RPC endpoints. Mine FRAC tokens with fractal analysis instead of hash puzzles.","url":"https://fractalai.net.co/api/x402/seal","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"type":"string","description":"Optional provenance kind: \"dataset\" | \"training\" | \"content\" (informational label recorded in the seal)."},"anchor":{"type":"boolean","description":"Optional (default true): also anchor the seal hash on-chain (VAID-1) for a public, tamper-evident record. Failure to anchor never fails the seal."},"issuer":{"type":"string","description":"Optional declaring party (recorded, informational)."},"content":{"type":"string","description":"Arbitrary UTF-8 content to seal; we seal sha256(content). Provide content OR content_hash."},"content_hash":{"type":"string","description":"A sha256 hex digest you already computed (e.g. of a dataset or training artifact); sealed as-is. Privacy-preserving — the content never leaves you."}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["seal"],"properties":{"seal":{"type":"object","description":"The re-verifiable provenance seal: { version, content_hash, drand_round, drand_randomness, sealed_at, algorithm, signature (base64 Dilithium-2), public_key }."},"anchor":{"type":"object","description":"On-chain anchor receipt (attestation_hash, block_number, permalink) or a note if anchoring was unavailable. Advisory — the seal is valid without it. The anchor is Dilithium-2 (ML-DSA-44), bound to the node."},"payment":{"type":"object","description":"Settlement receipt (scheme, network, asset, txHash, payer, settled)."},"verify_drand_at":{"type":"string","description":"URL to independently re-check the drand round on drand.sh."},"served_signature":{"type":"object","description":"Self-contained, OFFLINE-verifiable Dilithium-3 / ML-DSA-65 (NIST FIPS 204) signature over the canonical seal bytes: { algorithm: \"ml-dsa-65\", algorithm_label, digest (sha256 hex signed), signature (base64 ML-DSA-65, 3309 bytes), public_key (base64, 1952 bytes), signed_message (the EXACT UTF-8 bytes signed = \"FRACTALAI-x402-served-v1\\nx402-seal\\n<digest>\", route-separated, 3 lines) }. Additive — verify with ml_dsa65.verify(b64(signature), utf8(signed_message), b64(public_key)); pass signed_message verbatim, do not reconstruct it."}}},"example":{"seal_id":"…","permalink":"https://fractalai.net.co/attestation/0x…","attestation_hash":"0x…","served_signature":{"algorithm":"ml-dsa-65"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KsegOjTkTiIGQP-zTyLJ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a post-quantum cryptographic provenance seal (Dilithium/ML-DSA) over content, optionally anchored on-chain, with drand-sourced randomness for timestamping.","exampleAgentPrompt":"Create a post-quantum provenance seal for my document — I need an offline-verifiable ML-DSA-65 signature with a drand timestamp and an on-chain anchor so I can prove this content existed right now without relying on any central authority.","exampleUseCases":[{"title":"Legal document timestamping","prompt":"I need to create a tamper-proof, post-quantum signed seal proving this contract existed today — give me a drand-backed attestation with an on-chain anchor and an ML-DSA-65 signature I can verify offline in court."},{"title":"AI-generated content provenance","prompt":"I'm publishing an AI-generated report and need a quantum-resistant provenance seal so auditors can verify the exact content hash and timestamp without trusting any third-party server — can you get that seal from FractalAI with a drand round and Dilithium signature?"},{"title":"Dataset integrity for compliance","prompt":"Before I submit this training dataset to our compliance team, seal it with a post-quantum cryptographic attestation tied to a public drand randomness round so we have an immutable, verifiable proof of exactly what was in the dataset at submission time."}],"resultDescription":"Returns a JSON object containing: a provenance 'seal' object with version, content_hash, drand_round, drand_randomness, sealed_at timestamp, algorithm, base64-encoded Dilithium-2 signature, and public key; an optional on-chain 'anchor' with attestation_hash, block_number, and permalink; a 'served_signature' with an offline-verifiable ML-DSA-65 (NIST FIPS 204) signature, its public key, and the exact signed_message bytes; a 'payment' settlement receipt; and a 'verify_drand_at' URL for independently re-checking the drand round.","failureModes":["Payment not settled — x402 payment flow incomplete, returns 402 with payment requirements","Content too large or malformed — seal generation fails","drand network unavailable — randomness round cannot be fetched, seal may be delayed","On-chain anchoring unavailable — anchor field returns advisory note but seal remains valid","Signature verification failure on client side — must use exact signed_message bytes, not reconstructed","Invalid public key format — base64 decoding errors for ML-DSA-65 key (1952 bytes expected)"],"whenToPreferThis":"Choose this endpoint when you need post-quantum resistant content attestation with public verifiability via drand randomness, especially when offline verification (no callback to any server) is required. Prefer over traditional SHA/ECDSA timestamping when quantum-attack resistance is a concern, when you need both a chain anchor and an offline-verifiable signature in a single call, or when your compliance framework requires NIST FIPS 204 (ML-DSA) signatures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:12.268Z","isFirstParty":false}