Skip to main content
Glama
Deconstruct2021

cryptopunks-mcp-server

get_top_sales

Retrieve the highest-value sales from the CryptoPunks NFT collection, sorted by sale amount to identify top-performing transactions.

Instructions

Get the all-time highest sales in the CryptoPunks collection, ordered by sale value descending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual implementation of the get_top_sales function which fetches data from the API.
    export async function getTopSales() {
      return get(DATA_BASE, "/api/punks", { action: "top-sales" });
    }
  • The handler case that calls the api.getTopSales function when the get_top_sales tool is invoked.
    case "get_top_sales": {
      const result = await api.getTopSales();
      return ok(result);
    }
  • The tool definition and schema registration for get_top_sales.
    get_top_sales: {
      description:
        "Get the all-time highest sales in the CryptoPunks collection, ordered by sale value descending.",
      inputSchema: z.object({}),
    },

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