Skip to main content
Glama
Deconstruct2021

cryptopunks-mcp-server

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
NameRequiredDescriptionDefault
bid_idYesUUID of the collection bid

Implementation Reference

  • The actual API call implementation for get_bid_proofs.
    export async function getBidProofs(bidId: string) {
      return get(BIDS_BASE, `/api/v1/bids/${bidId}/proofs`);
    }
  • 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"),
      }),
    },
  • 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);
    }

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