Skip to main content
Glama
viem.ts290 B
import { createPublicClient, http } from "viem"; import type { PublicClient, Chain } from "viem"; import { flowMainnet, flowTestnet } from "viem/chains"; export function getPublicClient(): PublicClient { return createPublicClient({ chain: flowMainnet, transport: http(), }); }

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/Outblock/flow-mcp'

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