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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_top_sales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/api.ts:154-156 (handler)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" }); } - src/handlers.ts:288-291 (handler)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); } - src/tools.ts:109-113 (schema)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({}), },