Skip to main content
Glama

holder_stats

Retrieve token holder statistics including total tokens tracked, holder records, covered chains, and last update date from Verilex Data's dataset.

Instructions

Get statistics about the token holder dataset: total tokens tracked, total holder records, chains covered, last updated. Free endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler and registration for the "holder_stats" tool, which fetches data from the /api/v1/holders/stats endpoint.
    server.registerTool(
      "holder_stats",
      {
        title: "Holder Dataset Statistics",
        description:
          "Get statistics about the token holder dataset: total tokens tracked, " +
          "total holder records, chains covered, last updated. Free endpoint.",
        inputSchema: {},
      },
      async () => {
        const res = await apiGet<HolderStatsResponse>("/api/v1/holders/stats");
    
        if (!res.ok) {
          return {
            content: [
              {
                type: "text" as const,
                text: `API error (${res.status}): ${JSON.stringify(res.data)}`,
              },
            ],
            isError: true,
          };
        }
    
        return {
          content: [
            { type: "text" as const, text: JSON.stringify(res.data, null, 2) },
          ],
        };
      },
    );
  • Interface defining the structure of the response for the "holder_stats" tool.
    interface HolderStatsResponse {
      dataset: string;
      source: string;
      update_frequency: string;
      stats: Record<string, unknown>;
    }

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/carrierone/verilexdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server