ethereum_eth_getCode — Block402 MCP Tool
ethereum_eth_getCode
(ethereum eth get code) is one of 44 tools on the
Block402
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call ethereum_eth_getCode from your client
- Claude Code Block402 ethereum_eth_getCode run in your project directory
- Claude Desktop Block402 ethereum_eth_getCode ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor Block402 ethereum_eth_getCode ~/.cursor/mcp.json
- VS Code Block402 ethereum_eth_getCode .vscode/mcp.json
- Zed Block402 ethereum_eth_getCode ~/.config/zed/settings.json
- Windsurf Block402 ethereum_eth_getCode ~/.codeium/windsurf/mcp_config.json
- Cline Block402 ethereum_eth_getCode ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Gemini CLI Block402 ethereum_eth_getCode ~/.gemini/settings.json
- Grok Block402 ethereum_eth_getCode .mcp.json (in your project root)
- ChatGPT Block402 ethereum_eth_getCode Settings → Connectors → Advanced → Developer mode
- Claude.ai Block402 ethereum_eth_getCode Settings → Connectors → Add custom connector
- LangChain Block402 ethereum_eth_getCode pip install langchain-mcp-adapters
Fastest route
claude mcp add --transport http block402 https://api.block402.xyz/mcp
Other tools on this server
- bitcoin_getblockcount
- bitcoin_getbestblockhash
- bitcoin_getblockhash
- bitcoin_getblockheader
- bitcoin_getblock
- bitcoin_getrawtransaction
- bitcoin_gettxout
- ethereum_eth_chainId
- ethereum_eth_blockNumber
- ethereum_eth_syncing
- ethereum_net_version
- ethereum_net_listening
- ethereum_net_peerCount
- ethereum_web3_clientVersion
- ethereum_eth_gasPrice
- ethereum_eth_maxPriorityFeePerGas
- ethereum_eth_blobBaseFee
- ethereum_web3_sha3
- ethereum_eth_getBlockTransactionCountByNumber
- ethereum_eth_getUncleCountByBlockNumber
- ethereum_eth_getBlockByNumber
- ethereum_eth_getTransactionByBlockNumberAndIndex
- ethereum_eth_getUncleByBlockNumberAndIndex
- ethereum_eth_getRawTransactionByBlockNumberAndIndex
- ethereum_eth_getBlockTransactionCountByHash
- ethereum_eth_getUncleCountByBlockHash
- ethereum_eth_getBlockByHash
- ethereum_eth_getTransactionByBlockHashAndIndex
- ethereum_eth_getUncleByBlockHashAndIndex
- ethereum_eth_getRawTransactionByBlockHashAndIndex
- ethereum_eth_getBalance
- ethereum_eth_getTransactionCount
- ethereum_eth_getStorageAt
- ethereum_eth_getTransactionByHash
- ethereum_eth_getTransactionReceipt
- ethereum_eth_getRawTransactionByHash
- ethereum_eth_feeHistory
- ethereum_eth_call
- ethereum_eth_estimateGas
- ethereum_eth_createAccessList
- ethereum_eth_getProof
- ethereum_eth_getLogs
- ethereum_eth_getBlockReceipts
This list was read from the server itself, by connecting to it and calling tools/list on 4 October 2026. It is what
the server actually exposes, not what its listing claims.
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.