A

Animica · PQ Verify

by Animica

POSTBaseanimica:1

$0.0058

per call · USD Coin on Base

Verify a post-quantum signature (ML-DSA-65 / Dilithium3 / SPHINCS+ as enabled by chain policy) against a message and public key, using the same verifier the Animica chain itself uses to admit transactions. Useful when an agent must check a PQ-signed attestation without shipping a post-quantum library of its own. A signature that does not verify is a SUCCESSFUL call answering ok:false - you paid for the answer, and "invalid" is an answer. Only an inability to perform the check is treated as a failure.

Endpoint

POST https://animica.dev/x402/pq/verify

4

Calls / 30d

1

Unique payers / 30d

Aug 22

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://animica.dev/x402/pq/verify", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "alg_id": 4099,
    "message": "00",
    "public_key": "00",
    "signature": "00"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://animica.dev/x402/pq/verify" \
  -H "Content-Type: application/json" \
  -d '{"alg_id":4099,"message":"00","public_key":"00","signature":"00"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x5d17c40fd6b119dc6006c4ab3c20a917fcab2acd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, animica:1
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Animica & similar services