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" }
ID: rv77my90b6