FractalAI Post-Quantum Proofs
v0.1.3Post-quantum (ML-DSA-65/Dilithium-3) proof, provenance & AI-decision receipts, paid via x402.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify_proof Verify a post-quantum signature
Verify a post-quantum (ML-DSA-65 / Dilithium-3, NIST FIPS 204) signature against its public key. Free, no payment. Returns { valid, verdict }. A valid result proves the exact bytes in signed_message_b64 were signed by the given key; it says nothing about their truthfulness. For a signature from pqc_sign over a hex digest D, signed_message_b64 = base64(utf8(D)).
| Parameter | Type | Description |
|---|---|---|
public_key * | string | Base64 ML-DSA-65 / Dilithium-3 public key. |
signature * | string | Base64 ML-DSA-65 / Dilithium-3 signature to check. |
signed_message_b64 * | string | Base64 of the exact bytes that were signed. |
x402_checkout Get x402 payment requirements
Return the live x402 (HTTP 402) payment requirements for a paid FractalAI resource: price, network, USDC asset, payTo address and the accepts[] entries (EIP-3009 gasless and txHash fallback). Free — it never moves funds. Use it before pqc_sign / seal_provenance / attest_decision to learn exactly how much and how to pay. Pass resource='manifest' for the full .well-known/x402.json.
| Parameter | Type | Description |
|---|---|---|
resource * | string | Which paid resource to price, or 'manifest' for the whole x402 manifest. |
pqc_sign Buy a post-quantum signature
Pay $0.02 USDC (x402) for one post-quantum ML-DSA-65 / Dilithium-3 (NIST FIPS 204) signature over your message (its sha256 is signed) or a hex hash (signed directly). Returns { digest, signature, public_key, payment }. Without payment_tx_hash you get the payment challenge, not a signature. The signature proves these exact bytes were signed by this server's PQC key — nothing about their truthfulness, and 'quantum-resistant per NIST' is not 'unbreakable'.
| Parameter | Type | Description |
|---|---|---|
hash | string | Hex digest signed directly. Provide message OR hash. |
message | string | UTF-8 string; sha256(message) is signed. |
payer | string | Optional payer address hint. |
payment_tx_hash | string | A confirmed USDC-on-Base transaction hash paying the required amount to the treasury. If omitted, the tool returns the x402 payment challenge (accepts[]) instead of a result — pay first, then call a… |
seal_provenance Buy a PQC + drand provenance seal
Pay $0.05 USDC (x402) for a post-quantum provenance seal over content: a drand round (League of Entropy, not backdateable) + a self-contained ML-DSA-65 / Dilithium-3 signature over the seal + an on-chain anchor attempt (this server's node-bound Dilithium-2 key) over the content hash. Useful for EU AI Act (Art. 10/50/53) provenance. It is a provenance record, not a content audit. Without payment_tx_hash you get the payment challenge.
| Parameter | Type | Description |
|---|---|---|
content | string | UTF-8 content; sha256(content) is sealed. |
content_hash | string | Sha256 hex you already computed. Provide content OR content_hash. |
payer | string | Optional payer address hint. |
payment_tx_hash | string | A confirmed USDC-on-Base transaction hash paying the required amount to the treasury. If omitted, the tool returns the x402 payment challenge (accepts[]) instead of a result — pay first, then call a… |
attest_decision Seal an AI agent decision (VAID-1)
Pay $0.05 USDC (x402) to seal an AI agent's declared decision: its input hash, output, model and timestamp are chained in an append-only Black Box and anchored on-chain (VAID-1, this server's node-bound Dilithium-2 key). You also get back a self-contained ML-DSA-65 / Dilithium-3 signature over the same canonical decision bytes for independent offline verification. Returns a re-verifiable receipt. Built for EU AI Act Art.12 record-keeping. It notarizes the decision as declared; it does not judge whether the decision was correct. Without payment_tx_hash you get the payment challenge.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Stable identifier of the agent whose decision is sealed. |
input * | string | The decision input (or its hash). |
output * | string | The decision output the agent produced. |
model | string | Model/agent version that produced the decision. |
payer | string | Optional payer address hint. |
payment_tx_hash | string | A confirmed USDC-on-Base transaction hash paying the required amount to the treasury. If omitted, the tool returns the x402 payment challenge (accepts[]) instead of a result — pay first, then call a… |