Skip to main content
Glama
Deconstruct2021

cryptopunks-mcp-server

get_punk_history

Retrieve the complete transaction history for a specific CryptoPunk, including initial claims, transfers, offers, bids, and sales with detailed event data.

Instructions

Get the full transaction history for a specific CryptoPunk from initial claim through all transfers, offers, bids, and sales. Each event includes type, from/to addresses with ENS, amount in wei and USD, timestamp, and transaction hash. Uses the POST endpoint for reliable history retrieval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
punk_indexYesCryptoPunk index (0–9999)

Implementation Reference

  • The implementation of getPunkHistory, which calls the POST endpoint for transaction history.
    export async function getPunkHistory(punkIndex: number) {
      return post(DATA_BASE, `/api/punks/${punkIndex}/details`, {});
    }
  • src/tools.ts:74-78 (registration)
    Tool definition for get_punk_history.
    get_punk_history: {
      description:
        "Get the full transaction history for a specific CryptoPunk from initial claim through all transfers, offers, bids, and sales. Each event includes type, from/to addresses with ENS, amount in wei and USD, timestamp, and transaction hash. Uses the POST endpoint for reliable history retrieval.",
      inputSchema: z.object({ punk_index: punkIndex }),
    },
  • The handler logic that invokes the API client for get_punk_history.
    case "get_punk_history": {
      const result = await api.getPunkHistory(args.punk_index);
      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