Security · x402

Verify a post-quantum signature (ML-DSA-65 / Dilithium3 / SPHINCS+ as enabled by chain…

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 attestati…

by animica.dev · discovered, not yet claimed by its owner · updated 2026-08-22

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: animica · bazaar · discovery

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/7510.json for the price and payment options.
  3. Pay. Call GET https://animica.dev/x402/pq/verify. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, animica:1, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.005799 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, animica:1
Uptime
0 of the last 1 checks answered
Calls (30d)
4 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0057990x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD60s
exactanimica:1
animica:1
ANM68878682293anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga60s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5799",
    "amountUsd": 0.005799,
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "animica:1",
    "payTo": "anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga",
    "asset": "ANM",
    "amount": "68878682293",
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "animica": {
    "catalog": "https://animica.dev/.well-known/x402",
    "content_type": "application/json",
    "currency": "USDC",
    "description": "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.",
    "documentation": "https://animica.dev/x402#product-pq_verify",
    "name": "Post-quantum signature verification",
    "openapi": "https://animica.dev/x402/openapi.json",
    "price": "0.005799",
    "product": "pq_verify",
    "provider": "Animica",
    "terms": {
      "amount_atomic": "5799",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "chain_id": 8453,
      "network": "eip155:8453",
      "pay_to": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
      "scheme": "exact"
    },
    "x402_version": 2
  },
  "bazaar": {
    "discoverable": true,
    "info": {
      "input": {
        "body": {
          "alg_id": 4099,
          "message": "00",
          "public_key": "00",
          "signature": "00"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "properties": {
            "body": {
              "properties": {
                "alg_id": {
                  "description": "scheme id - 4099 (0x1003) is ML-DSA-65, the only scheme that can spend on Animica",
                  "type": "integer"
                },
                "message": {
                  "description": "hex-encoded message bytes",
                  "type": "string"
                },
                "public_key": {
                  "description": "hex-encoded public key",
                  "type": "string"
                },
                "sign_hash": {
                  "description": "hex domain/sign-hash bytes, when the scheme binds one",
                  "type": "string"
                },
                "signature": {
                  "description": "hex-encoded signature",
                  "type": "string"
                }
              },
              "required": [
                "alg_id",
                "message",
                "signature",
                "public_key"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {},
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "discovery": {
    "discoverable": true,
    "info": {
      "input": {
        "bodyFields": {
          "alg_id": {
            "description": "scheme id - 4099 (0x1003) is ML-DSA-65, the only scheme that can spend on Animica",
            "required": true,
            "type": "integer"
          },
          "message": {
            "description": "hex-encoded message bytes",
            "required": true,
            "type": "string"
          },
          "public_key": {
            "description": "hex-encoded public key",
            "required": true,
            "type": "string"
          },
          "sign_hash": {
            "description": "hex domain/sign-hash bytes, when the scheme binds one",
            "required": false,
            "type": "string"
          },
          "signature": {
            "description": "hex-encoded signature",
            "required": true,
            "type": "string"
          }
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "description": "ok (the verdict), reason, scheme_id, scheme_name, pub_fingerprint, sizes, verified_at",
        "type": "json"
      }
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://animica.dev/x402/pq/verify"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://animica.dev/x402/pq/verify");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://animica.dev/x402/pq/verify")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
animica.dev
Endpoint
https://animica.dev/x402/pq/verify
Machine-readable
/resources/7510.json