Skip to main content
Glama

Etherscan MCP

by xiaok

get_chain_id

Retrieve the chain ID for a specific blockchain by providing its chain name, using Etherscan MCP server to query Ethereum blockchain data.

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" }

You must be authenticated.

Other Tools from Etherscan MCP

Related Tools

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