Skip to main content
Glama

get_market_stats

Retrieve marketplace settlement statistics including transaction counts, Axie volumes, and trading data for the last 24 hours, 7 days, and 30 days.

Instructions

Get marketplace settlement statistics showing transaction counts, Axie counts, and volumes over the last 24 hours, 7 days, and 30 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler logic for 'get_market_stats' tool which queries market statistics using the client.
    case "get_market_stats": {
      const data = await client.query<{ marketStats: unknown }>(
        queries.GET_MARKET_STATS
      );
      return jsonContent(data.marketStats);
    }
  • The GraphQL query definition for 'get_market_stats'.
    export const GET_MARKET_STATS = `
      query GetMarketStats {
        marketStats {
          last24Hours { count axieCount volume volumeUsd }
          last7Days { count axieCount volume volumeUsd }
          last30Days { count axieCount volume volumeUsd }
        }
      }
    `;
  • src/index.ts:244-250 (registration)
    Registration of the 'get_market_stats' tool.
    name: "get_market_stats",
    description:
      "Get marketplace settlement statistics showing transaction counts, Axie counts, and volumes over the last 24 hours, 7 days, and 30 days.",
    inputSchema: {
      type: "object",
      properties: {},
      required: [],

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/jackdlogan/axie-mcp'

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