Skip to main content
Glama
Deconstruct2021

cryptopunks-mcp-server

verify_batch_proofs

Verify multiple CryptoPunks ownership proofs simultaneously against a single Merkle root using pure computation, returning individual results per punk without requiring wallet access.

Instructions

Verify Merkle proofs for multiple punks against a single Merkle root. Pure computation, no wallet required. Returns a result per punk index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proofsYesObject mapping punk index (as string) to its proof array
rootYesThe Merkle root to verify against

Implementation Reference

  • Implementation of the verifyBatchProofs function which calls the /api/v1/merkle/verify-batch endpoint.
    export async function verifyBatchProofs(
      proofs: Record<string, string[]>,
      root: string,
    ) {
      return post(BIDS_BASE, "/api/v1/merkle/verify-batch", { proofs, root });
    }
  • src/tools.ts:279-288 (registration)
    Tool definition for verify_batch_proofs.
    verify_batch_proofs: {
      description:
        "Verify Merkle proofs for multiple punks against a single Merkle root. Pure computation, no wallet required. Returns a result per punk index.",
      inputSchema: z.object({
        proofs: z
          .record(z.string(), z.array(z.string()))
          .describe("Object mapping punk index (as string) to its proof array"),
        root: z.string().describe("The Merkle root to verify against"),
      }),
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Deconstruct2021/cryptopunks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server