Skip to main content
Glama

get_chain_id

Retrieve the unique chain ID for any Ethereum blockchain network by specifying its name, enabling proper network configuration and interaction.

Instructions

Get the chain ID for a given chain name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chain_nameYesThe name of the chain to get the chain ID for

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/xiaok/etherscan-mcp'

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