{
  "x402Version": 2,
  "id": 7510,
  "slug": "7510",
  "resource": "https://animica.dev/x402/pq/verify",
  "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5799",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "animica:1",
      "payTo": "anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga",
      "asset": "ANM",
      "amount": "68878682293",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
        }
      }
    }
  },
  "tags": [
    "animica",
    "bazaar",
    "discovery"
  ],
  "sourceHost": "animica.dev",
  "lastUpdated": "2026-08-22T08:38:29.689Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-22T08:38:29.492Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "animica.dev",
    "manifest_name": "animica.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}