UNPKG

@sanlim/mempool-mcp-server

Version:

A sample of MCP implementation using DDD structure with some APIs call.

10 lines (9 loc) 205 B
export class BlockRequestService { client; constructor(client) { this.client = client; } async getBlock({ hash }) { return this.client.makeRequest(`block/${hash}`); } }