Skip to main content
Glama

Mempool MCP Server

GeneralRequestService.ts541 B
import { IApiClient } from "../../interfaces/IApiClient.js"; export class GeneralRequestService { constructor(private client: IApiClient) {} async getDifficultyAdjustment(): Promise<any | null> { return this.client.makeRequest<any>(`difficulty-adjustment`); } async getPrice(): Promise<any | null> { return this.client.makeRequest<any>(`prices`); } async getHistoricalPrice(date: string): Promise<any | null> { // date format: YYYY-MM-DD return this.client.makeRequest<any>(`historical-price/${date}`); } }

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/alexandresanlim/mempool-mcp-server'

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