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
| Name | Required | Description | Default |
|---|---|---|---|
| proofs | Yes | Object mapping punk index (as string) to its proof array | |
| root | Yes | The Merkle root to verify against |
Implementation Reference
- src/api.ts:279-284 (handler)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"), }), },