get_bid_proofs
Generate Merkle proofs for CryptoPunks collection bids to enable on-chain settlement. Provide the bid UUID to retrieve proofs for all punk indices covered by the bid.
Instructions
Get the Merkle proofs for every punk index covered by a specific collection bid. Required for on-chain settlement when accepting a collection bid. Use the bid UUID from any of the collection bid listing tools.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bid_id | Yes | UUID of the collection bid |
Implementation Reference
- src/api.ts:245-247 (handler)The actual API call implementation for get_bid_proofs.
export async function getBidProofs(bidId: string) { return get(BIDS_BASE, `/api/v1/bids/${bidId}/proofs`); } - src/tools.ts:224-230 (schema)The MCP tool definition and input schema for get_bid_proofs.
get_bid_proofs: { description: "Get the Merkle proofs for every punk index covered by a specific collection bid. Required for on-chain settlement when accepting a collection bid. Use the bid UUID from any of the collection bid listing tools.", inputSchema: z.object({ bid_id: z.string().uuid().describe("UUID of the collection bid"), }), }, - src/handlers.ts:394-397 (registration)The request handler implementation that bridges the MCP tool call to the API function.
case "get_bid_proofs": { const result = await api.getBidProofs(args.bid_id); return ok(result); }