Buy a post-quantum signature
pqc_signSigns a message's SHA-256 digest or a hex hash with a post-quantum ML-DSA-65 key after a $0.02 USDC x402 payment, returning digest, signature, public key, and payment details.
Instructions
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'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pqc_sign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | Hex digest signed directly. Provide message OR hash. | |
| payer | No | Optional payer address hint. | |
| message | No | UTF-8 string; sha256(message) is signed. | |
| payment_tx_hash | No | 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 again with this set. One txHash buys exactly one call. |