Skip to main content
Glama

MCP Crypto Wallet EVM

by dcSpark

wallet_get_chain_id

Retrieve the chain ID of the Ethereum or EVM-compatible network connected to your wallet, ensuring accurate blockchain interactions and transaction processing.

Instructions

Get the chain ID the wallet is connected to

Input Schema

NameRequiredDescriptionDefault
walletNoThe wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set.

Input Schema (JSON Schema)

{ "properties": { "wallet": { "description": "The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set.", "type": "string" } }, "required": [], "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/dcSpark/mcp-cryptowallet-evm'

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