Skip to main content
Glama
base-service.ts1.08 kB
import { SigningStargateClient, QueryClient, StakingExtension, DistributionExtension } from '@allthatjazzleo/stargate'; import { SigningCosmWasmClient } from '@allthatjazzleo/cosmwasm-stargate'; import { Comet38Client } from '@cosmjs/tendermint-rpc'; import { NetworkConfig } from '../config.js'; export class BaseService { protected stargateClient: SigningStargateClient; protected wasmClient: SigningCosmWasmClient; protected queryClient: QueryClient & StakingExtension & DistributionExtension; protected cometClient: Comet38Client; protected address: string; protected network: NetworkConfig; constructor( stargateClient: SigningStargateClient, wasmClient: SigningCosmWasmClient, queryClient: QueryClient & StakingExtension & DistributionExtension, cometClient: Comet38Client, address: string, network: NetworkConfig ) { this.stargateClient = stargateClient; this.wasmClient = wasmClient; this.queryClient = queryClient; this.cometClient = cometClient; this.address = address; this.network = network; } }

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/allthatjazzleo/mantrachain-mcp'

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