Skip to main content
Glama

Etherscan MCP Tool

get_chain_id

Retrieve the chain ID for any blockchain network by specifying its chain name, simplifying blockchain interactions and data queries.

Instructions

Get the chain ID for a given chain name

Input Schema

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

Input Schema (JSON Schema)

{ "properties": { "chain_name": { "description": "The name of the chain to get the chain ID for", "type": "string" } }, "required": [ "chain_name" ], "type": "object" }

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

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